Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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 2.498/2.498, 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.001435/0.001435, allocations: 172.9 kB / 360.6 MB, free: 7.32 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.101/2.101, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001102/0.001101, allocations: 94.41 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.426e-05, allocations: 7.984 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.8413, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/2.09, allocations: 376.8 MB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/2.091, allocations: 68.09 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03871/2.129, allocations: 11.96 MB / 1.343 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/2.129, allocations: 0 / 1.343 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.775e-06/2.13, allocations: 0 / 1.343 GB, free: 178.1 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.0003627/2.13, allocations: 334.8 kB / 1.343 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/2.13, allocations: 11.5 kB / 1.343 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/2.13, allocations: 6 kB / 1.343 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/2.13, allocations: 163 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/2.13, allocations: 29.58 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/2.13, allocations: 4 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.009e-05/2.13, allocations: 15.3 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/2.13, allocations: 40.88 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/2.13, allocations: 0 / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/2.13, allocations: 0 / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/2.131, allocations: 1.5 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/2.131, allocations: 315.3 kB / 1.344 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/2.131, allocations: 21.8 kB / 1.344 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/2.131, allocations: 8.891 kB / 1.344 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/2.131, allocations: 83.48 kB / 1.344 GB, free: 177 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/2.131, allocations: 34.5 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/2.131, allocations: 0 / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001898/2.131, allocations: 32.14 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/2.131, allocations: 59.08 kB / 1.344 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/2.132, allocations: 95.44 kB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/2.132, allocations: 25.7 kB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/2.132, allocations: 87.86 kB / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-06/2.132, allocations: 0 / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/2.132, allocations: 0 / 1.344 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/2.132, allocations: 322 kB / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/2.132, allocations: 0 / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/2.132, allocations: 18.44 kB / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/2.132, allocations: 14.34 kB / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.132, allocations: 0 / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001299/2.132, allocations: 45.69 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/2.132, allocations: 4.312 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/2.132, allocations: 0 / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/2.132, allocations: 7.203 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/2.132, allocations: 3.156 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/2.132, allocations: 7.094 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/2.132, allocations: 11.91 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/2.132, allocations: 0 / 1.345 GB, free: 176.2 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.457e-05/2.132, allocations: 117.5 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.403e-05/2.132, allocations: 36.09 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/2.132, allocations: 2.938 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/2.133, allocations: 115.7 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/2.133, allocations: 187.5 kB / 1.345 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-05/2.133, allocations: 183.9 kB / 1.345 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/2.133, allocations: 180.5 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/2.133, allocations: 384.9 kB / 1.346 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/2.133, allocations: 102.4 kB / 1.346 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/2.133, allocations: 108.2 kB / 1.346 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.995e-05/2.133, allocations: 191.9 kB / 1.346 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/2.133, allocations: 176.3 kB / 1.347 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.642e-05/2.133, allocations: 185.6 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.539e-05/2.133, allocations: 180.2 kB / 1.347 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.505e-05/2.133, allocations: 306.9 kB / 1.347 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/2.133, allocations: 193.2 kB / 1.347 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/2.133, allocations: 176.3 kB / 1.348 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/2.134, allocations: 104.2 kB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/2.134, allocations: 187.4 kB / 1.348 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/2.134, allocations: 101 kB / 1.348 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.991e-05/2.134, allocations: 86.25 kB / 1.348 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/2.134, allocations: 0 / 1.348 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003892/2.134, allocations: 16.78 kB / 1.348 GB, free: 172.9 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.0004154/2.135, allocations: 0.8375 MB / 1.349 GB, free: 172 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.781e-05/2.135, allocations: 6.406 kB / 1.349 GB, free: 172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.135, allocations: 0 / 1.349 GB, free: 172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/2.135, allocations: 3.5 kB / 1.349 GB, free: 172 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/2.135, allocations: 0.5272 MB / 1.349 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/2.135, allocations: 171.4 kB / 1.35 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/2.136, allocations: 0.6765 MB / 1.35 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.344e-05/2.136, allocations: 11.73 kB / 1.35 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/2.136, allocations: 7.438 kB / 1.35 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.61e-07/2.136, allocations: 0 / 1.35 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/2.17, allocations: 1.085 MB / 1.351 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/2.171, allocations: 156.3 kB / 1.351 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/4.38, allocations: 0 / 1.351 GB, free: 169.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)