Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.146/3.146, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 180.8 kB / 360.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.3 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 84.45 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.066e-05, allocations: 8 kB / 0.8509 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.832, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.262/1.094, allocations: 138.3 MB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.095, allocations: 75.95 kB / 1.099 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02218/1.117, allocations: 3.766 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.117, allocations: 4 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.595e-06/1.117, allocations: 4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006582/1.118, allocations: 386.3 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.118, allocations: 8.031 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/1.118, allocations: 69.03 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.118, allocations: 167 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/1.118, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/1.118, allocations: 0 / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001413/1.119, allocations: 35.38 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/1.119, allocations: 51.08 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.119, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.119, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.119, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/1.119, allocations: 273.4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/1.12, allocations: 38.58 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/1.12, allocations: 12.92 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/1.12, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.12, allocations: 34.56 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/1.12, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0004467/1.12, allocations: 73.66 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.12, allocations: 51.41 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/1.12, allocations: 89 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/1.12, allocations: 29.64 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.121, allocations: 88.14 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/1.121, allocations: 10.47 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-06/1.121, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.121, allocations: 322.8 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/1.121, allocations: 16.03 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/1.121, allocations: 8 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.121, allocations: 27.97 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.121, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003118/1.121, allocations: 69.58 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.121, allocations: 8 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.121, allocations: 4.094 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.122, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/1.122, allocations: 31.95 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.122, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/1.122, allocations: 27.97 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.122, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.122, allocations: 108.7 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003203/1.123, allocations: 77.61 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/1.123, allocations: 3.938 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/1.123, allocations: 11.77 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.123, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.123, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.123, allocations: 4 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/1.123, allocations: 146.2 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.123, allocations: 4 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.123, allocations: 27.34 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.123, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.123, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.123, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.123, allocations: 7.359 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/1.124, allocations: 167.3 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/1.124, allocations: 81.14 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/1.124, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/1.124, allocations: 27.97 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.124, allocations: 0 / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.124, allocations: 3.984 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.688e-05/1.124, allocations: 79.28 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.124, allocations: 4 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004003/1.125, allocations: 16 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007673/1.125, allocations: 0.7085 MB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001684/1.126, allocations: 35.97 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.126, allocations: 0 / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/1.126, allocations: 15.98 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.126, allocations: 7.375 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/1.127, allocations: 131.5 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.127, allocations: 0.6806 MB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001324/1.127, allocations: 11.98 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/1.127, allocations: 7.438 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.127, allocations: 0 / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/1.164, allocations: 1.071 MB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/1.164, allocations: 144 kB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.501, allocations: 0 / 1.108 GB, free: 8.68 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)