Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.7526/0.7526, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 187.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0008867/0.0008866, allocations: 97.23 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 271.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.555e-05/4.564e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4539, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/1.272, allocations: 394.5 MB / 1.15 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/1.272, allocations: 76.7 kB / 1.15 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04189/1.314, allocations: 19.05 MB / 1.168 GB, free: 13.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.314, allocations: 0 / 1.168 GB, free: 13.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.314, allocations: 0 / 1.168 GB, free: 13.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004019/1.314, allocations: 355 kB / 1.169 GB, free: 12.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.314, allocations: 15.97 kB / 1.169 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/1.314, allocations: 34.5 kB / 1.169 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/1.315, allocations: 3.938 kB / 1.169 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/1.315, allocations: 171 kB / 1.169 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/1.315, allocations: 25.7 kB / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.315, allocations: 7.922 kB / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/1.315, allocations: 37.69 kB / 1.169 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.315, allocations: 0 / 1.169 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.315, allocations: 4 kB / 1.169 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.315, allocations: 3.984 kB / 1.169 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/1.315, allocations: 11.56 kB / 1.169 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/1.315, allocations: 345 kB / 1.169 GB, free: 12.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/1.316, allocations: 18.58 kB / 1.169 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/1.316, allocations: 4.859 kB / 1.169 GB, free: 12.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/1.316, allocations: 89.05 kB / 1.169 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.316, allocations: 34.55 kB / 1.169 GB, free: 12.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.316, allocations: 0 / 1.169 GB, free: 12.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/1.316, allocations: 37.64 kB / 1.169 GB, free: 12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.316, allocations: 51.41 kB / 1.17 GB, free: 11.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/1.316, allocations: 96.94 kB / 1.17 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.316, allocations: 25.7 kB / 1.17 GB, free: 11.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/1.316, allocations: 88.03 kB / 1.17 GB, free: 11.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/1.316, allocations: 0 / 1.17 GB, free: 11.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/1.316, allocations: 0 / 1.17 GB, free: 11.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.316, allocations: 322.5 kB / 1.17 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/1.316, allocations: 4.031 kB / 1.17 GB, free: 11.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/1.316, allocations: 13.72 kB / 1.17 GB, free: 11.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/1.316, allocations: 7.984 kB / 1.17 GB, free: 11.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.316, allocations: 0 / 1.17 GB, free: 11.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.002e-05/1.316, allocations: 53.56 kB / 1.17 GB, free: 11.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.316, allocations: 4 kB / 1.17 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.316, allocations: 4.062 kB / 1.17 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.316, allocations: 0 / 1.17 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/1.316, allocations: 8 kB / 1.17 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.316, allocations: 0 / 1.17 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/1.316, allocations: 7.844 kB / 1.17 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/1.316, allocations: 7.938 kB / 1.17 GB, free: 11.28 MB / 0.698 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.734e-05/1.317, allocations: 108.9 kB / 1.17 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/1.317, allocations: 0 / 1.17 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.317, allocations: 127.1 kB / 1.17 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/1.317, allocations: 176.3 kB / 1.171 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/1.317, allocations: 184.2 kB / 1.171 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.745e-05/1.317, allocations: 183.9 kB / 1.171 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/1.317, allocations: 409.1 kB / 1.171 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/1.317, allocations: 111.8 kB / 1.171 GB, free: 9.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/1.317, allocations: 109 kB / 1.171 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/1.317, allocations: 180.2 kB / 1.172 GB, free: 9.625 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/1.317, allocations: 180.3 kB / 1.172 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.036e-05/1.317, allocations: 180.2 kB / 1.172 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.837e-05/1.318, allocations: 180.2 kB / 1.172 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/1.318, allocations: 311.7 kB / 1.172 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/1.318, allocations: 185.9 kB / 1.173 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/1.318, allocations: 184.2 kB / 1.173 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/1.318, allocations: 105 kB / 1.173 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/1.318, allocations: 181.5 kB / 1.173 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/1.318, allocations: 108.9 kB / 1.173 GB, free: 7.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.819e-05/1.318, allocations: 86.22 kB / 1.173 GB, free: 7.871 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.318, allocations: 0 / 1.173 GB, free: 7.871 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002157/1.318, allocations: 15.81 kB / 1.173 GB, free: 7.859 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 (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.0005654/1.319, allocations: 0.8785 MB / 1.174 GB, free: 6.957 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.101e-05/1.319, allocations: 4 kB / 1.174 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.319, allocations: 0 / 1.174 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/1.319, allocations: 0 / 1.174 GB, free: 6.953 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/1.319, allocations: 0.5302 MB / 1.175 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/1.32, allocations: 173.6 kB / 1.175 GB, free: 6.219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/1.32, allocations: 0.677 MB / 1.175 GB, free: 5.516 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.991e-05/1.32, allocations: 12.73 kB / 1.176 GB, free: 5.504 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/1.32, allocations: 7.438 kB / 1.176 GB, free: 5.496 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.32, allocations: 0 / 1.176 GB, free: 5.496 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.333, allocations: 2.146 MB / 1.178 GB, free: 3.555 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.334, allocations: 189.5 kB / 1.178 GB, free: 3.328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.965, allocations: 2.25 kB / 1.178 GB, free: 3.328 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)