Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001092, allocations: 182.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 82.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.231e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.837/2.091, allocations: 417.4 MB / 1.3 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/2.091, allocations: 66.09 kB / 1.3 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03897/2.13, allocations: 17.71 MB / 1.317 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.773e-06/2.13, allocations: 0 / 1.317 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.578e-06/2.13, allocations: 0 / 1.317 GB, free: 235.7 MB / 0.8542 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.0004148/2.131, allocations: 357.1 kB / 1.317 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/2.131, allocations: 11.75 kB / 1.317 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/2.131, allocations: 38.45 kB / 1.317 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/2.131, allocations: 0 / 1.317 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/2.131, allocations: 175 kB / 1.317 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/2.131, allocations: 29.61 kB / 1.317 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/2.131, allocations: 0 / 1.317 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/2.131, allocations: 45.5 kB / 1.318 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/2.131, allocations: 0 / 1.318 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/2.131, allocations: 3.938 kB / 1.318 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/2.131, allocations: 0 / 1.318 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/2.132, allocations: 11.8 kB / 1.318 GB, free: 235 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/2.132, allocations: 340.3 kB / 1.318 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/2.132, allocations: 18.48 kB / 1.318 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/2.132, allocations: 4.859 kB / 1.318 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/2.132, allocations: 85 kB / 1.318 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/2.132, allocations: 38.47 kB / 1.318 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/2.132, allocations: 0 / 1.318 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001985/2.133, allocations: 37.27 kB / 1.318 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/2.133, allocations: 59.36 kB / 1.318 GB, free: 234.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/2.133, allocations: 100.8 kB / 1.318 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/2.133, allocations: 29.58 kB / 1.318 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/2.133, allocations: 87.36 kB / 1.318 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/2.133, allocations: 0 / 1.318 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/2.133, allocations: 0 / 1.318 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/2.133, allocations: 310.8 kB / 1.319 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/2.133, allocations: 11.75 kB / 1.319 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/2.133, allocations: 17.67 kB / 1.319 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/2.133, allocations: 7.812 kB / 1.319 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.133, allocations: 0 / 1.319 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.117e-05/2.133, allocations: 48.94 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/2.133, allocations: 3.906 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/2.133, allocations: 0 / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/2.133, allocations: 4.062 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/2.133, allocations: 7.812 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/2.133, allocations: 3.938 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/2.133, allocations: 7.859 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/2.134, allocations: 7.844 kB / 1.319 GB, free: 233.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.576e-05/2.134, allocations: 105 kB / 1.319 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/2.134, allocations: 3.562 kB / 1.319 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/2.134, allocations: 116.9 kB / 1.319 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-05/2.134, allocations: 180.2 kB / 1.319 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/2.134, allocations: 184.2 kB / 1.319 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-05/2.134, allocations: 179.5 kB / 1.319 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/2.134, allocations: 412.6 kB / 1.32 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/2.134, allocations: 101 kB / 1.32 GB, free: 232.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/2.134, allocations: 108.9 kB / 1.32 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-05/2.134, allocations: 176.3 kB / 1.32 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/2.134, allocations: 184.4 kB / 1.32 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.07e-05/2.134, allocations: 180.2 kB / 1.321 GB, free: 231.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-05/2.134, allocations: 176.3 kB / 1.321 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/2.135, allocations: 311.4 kB / 1.321 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/2.135, allocations: 197.8 kB / 1.321 GB, free: 231 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/2.135, allocations: 176.3 kB / 1.321 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/2.135, allocations: 108.9 kB / 1.321 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/2.135, allocations: 188.2 kB / 1.322 GB, free: 230.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/2.135, allocations: 104.9 kB / 1.322 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.987e-05/2.135, allocations: 87 kB / 1.322 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.135, allocations: 0 / 1.322 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003148/2.135, allocations: 19.66 kB / 1.322 GB, free: 230.3 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.0005179/2.136, allocations: 0.8716 MB / 1.323 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/2.136, allocations: 11.66 kB / 1.323 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.136, allocations: 0 / 1.323 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/2.136, allocations: 0 / 1.323 GB, free: 229.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/2.136, allocations: 0.5336 MB / 1.323 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/2.137, allocations: 162.4 kB / 1.323 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/2.137, allocations: 0.6808 MB / 1.324 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.489e-05/2.137, allocations: 3.906 kB / 1.324 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/2.137, allocations: 18.97 kB / 1.324 GB, free: 228 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/2.137, allocations: 0 / 1.324 GB, free: 228 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/2.152, allocations: 2.102 MB / 1.326 GB, free: 227 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/2.152, allocations: 186.5 kB / 1.326 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/3.765, allocations: 0 / 1.326 GB, free: 226.8 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)