Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8348/0.8348, allocations: 141.8 MB / 149.3 MB, free: 4.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 180.5 kB / 182.2 MB, free: 128 kB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 90.7 kB / 0.5074 GB, free: 24.4 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 278.1 kB / 0.5889 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.595e-05, allocations: 0 / 0.6766 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5154, allocations: 82.76 MB / 0.7574 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.525/5.041, allocations: 1.671 GB / 2.428 GB, free: 96.06 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/5.041, allocations: 71.03 kB / 2.428 GB, free: 96.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0689/5.11, allocations: 36.72 MB / 2.464 GB, free: 66.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/5.11, allocations: 4 kB / 2.464 GB, free: 66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/5.11, allocations: 0 / 2.464 GB, free: 66 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003087/5.111, allocations: 338.4 kB / 2.465 GB, free: 65.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/5.111, allocations: 12.03 kB / 2.465 GB, free: 65.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/5.111, allocations: 27.92 kB / 2.465 GB, free: 65.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/5.111, allocations: 163.1 kB / 2.465 GB, free: 65.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/5.111, allocations: 33.7 kB / 2.465 GB, free: 65.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/5.111, allocations: 0 / 2.465 GB, free: 65.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.717e-05/5.111, allocations: 23.92 kB / 2.465 GB, free: 65.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/5.111, allocations: 45.69 kB / 2.465 GB, free: 65.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/5.111, allocations: 0 / 2.465 GB, free: 65.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/5.111, allocations: 0.75 kB / 2.465 GB, free: 65.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/5.111, allocations: 4 kB / 2.465 GB, free: 65.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/5.112, allocations: 334.5 kB / 2.465 GB, free: 64.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/5.112, allocations: 18.58 kB / 2.465 GB, free: 64.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/5.112, allocations: 4.859 kB / 2.465 GB, free: 64.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/5.112, allocations: 4 kB / 2.465 GB, free: 64.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/5.112, allocations: 34.5 kB / 2.465 GB, free: 64.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/5.112, allocations: 0 / 2.465 GB, free: 64.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001927/5.112, allocations: 46.88 kB / 2.465 GB, free: 64.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/5.112, allocations: 55.36 kB / 2.465 GB, free: 64.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/5.112, allocations: 93 kB / 2.465 GB, free: 64.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/5.112, allocations: 25.7 kB / 2.465 GB, free: 64.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/5.112, allocations: 96.06 kB / 2.466 GB, free: 64.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/5.112, allocations: 7.844 kB / 2.466 GB, free: 64.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/5.112, allocations: 0 / 2.466 GB, free: 64.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/5.113, allocations: 314.8 kB / 2.466 GB, free: 64.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/5.113, allocations: 7.938 kB / 2.466 GB, free: 64.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/5.113, allocations: 18.58 kB / 2.466 GB, free: 64.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/5.113, allocations: 11.98 kB / 2.466 GB, free: 64.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/5.113, allocations: 0 / 2.466 GB, free: 64.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.551e-05/5.113, allocations: 54.56 kB / 2.466 GB, free: 64.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/5.113, allocations: 4 kB / 2.466 GB, free: 64.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/5.113, allocations: 4 kB / 2.466 GB, free: 64.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/5.113, allocations: 3.984 kB / 2.466 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/5.113, allocations: 7.938 kB / 2.466 GB, free: 64.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/5.113, allocations: 4 kB / 2.466 GB, free: 64.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/5.113, allocations: 8.047 kB / 2.466 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/5.113, allocations: 0 / 2.466 GB, free: 64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.472e-05/5.113, allocations: 105 kB / 2.466 GB, free: 63.89 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.188e-05/5.113, allocations: 40.03 kB / 2.466 GB, free: 63.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/5.113, allocations: 4 kB / 2.466 GB, free: 63.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/5.113, allocations: 7.75 kB / 2.466 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/5.113, allocations: 0 / 2.466 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/5.113, allocations: 3.953 kB / 2.466 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/5.113, allocations: 0 / 2.466 GB, free: 63.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/5.113, allocations: 327.3 kB / 2.466 GB, free: 63.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/5.113, allocations: 0 / 2.466 GB, free: 63.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/5.113, allocations: 0 / 2.466 GB, free: 63.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/5.113, allocations: 4 kB / 2.466 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/5.113, allocations: 3.984 kB / 2.466 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/5.113, allocations: 4.203 kB / 2.466 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/5.113, allocations: 0 / 2.466 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.376e-05/5.113, allocations: 57.17 kB / 2.466 GB, free: 63.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/5.113, allocations: 81.11 kB / 2.467 GB, free: 63.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/5.113, allocations: 0 / 2.467 GB, free: 63.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/5.114, allocations: 7.984 kB / 2.467 GB, free: 63.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/5.114, allocations: 7.891 kB / 2.467 GB, free: 63.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/5.114, allocations: 0 / 2.467 GB, free: 63.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.476e-05/5.114, allocations: 83.28 kB / 2.467 GB, free: 63.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.114, allocations: 0 / 2.467 GB, free: 63.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002696/5.114, allocations: 40.02 kB / 2.467 GB, free: 63.15 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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.0008938/5.115, allocations: 1.141 MB / 2.468 GB, free: 61.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.1e-05/5.115, allocations: 11.94 kB / 2.468 GB, free: 61.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/5.115, allocations: 0 / 2.468 GB, free: 61.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/5.115, allocations: 0 / 2.468 GB, free: 61.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/5.115, allocations: 22.78 kB / 2.468 GB, free: 61.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/5.115, allocations: 85.66 kB / 2.468 GB, free: 61.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/5.116, allocations: 0.6768 MB / 2.469 GB, free: 61.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.436e-05/5.116, allocations: 4 kB / 2.469 GB, free: 61.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/5.116, allocations: 7.438 kB / 2.469 GB, free: 61.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.116, allocations: 0 / 2.469 GB, free: 61.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/5.141, allocations: 5.282 MB / 2.474 GB, free: 55.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/5.141, allocations: 153.5 kB / 2.474 GB, free: 55.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/7.042, allocations: 3.938 kB / 2.474 GB, free: 55.67 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)