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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 291 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9767/0.9767, allocations: 178.5 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 95.31 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1362, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00506/0.1412, allocations: 3.716 MB / 0.6972 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.1414, allocations: 163.4 kB / 0.6974 GB, free: 336 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1415, allocations: 0 / 0.6974 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.908e-05/0.1416, allocations: 0 / 0.6974 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.1416, allocations: 15.91 kB / 0.6974 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1419, allocations: 88.44 kB / 0.6975 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.142, allocations: 31.92 kB / 0.6975 GB, free: 200 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.142, allocations: 0 / 0.6975 GB, free: 200 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.1421, allocations: 15.97 kB / 0.6975 GB, free: 184 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.1421, allocations: 15.88 kB / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1421, allocations: 0 / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.1426, allocations: 191.4 kB / 0.6977 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.1427, allocations: 4 kB / 0.6977 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1427, allocations: 7.938 kB / 0.6977 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1428, allocations: 52.17 kB / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1428, allocations: 0 / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1428, allocations: 0 / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1428, allocations: 0 / 0.6978 GB, free: 15.91 MB / 0.4981 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.0003576/0.1432, allocations: 339.4 kB / 0.6981 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1432, allocations: 12.03 kB / 0.6981 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1433, allocations: 34.75 kB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.1433, allocations: 0.9375 kB / 0.6981 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1434, allocations: 160.4 kB / 0.6983 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1435, allocations: 34.27 kB / 0.6983 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.1435, allocations: 4.125 kB / 0.6983 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1436, allocations: 49.55 kB / 0.6984 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1436, allocations: 4 kB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1436, allocations: 4 kB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1437, allocations: 3.984 kB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.1437, allocations: 8 kB / 0.6984 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1441, allocations: 338 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.1442, allocations: 22.58 kB / 0.6987 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.1442, allocations: 12.78 kB / 0.6988 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.1443, allocations: 81.17 kB / 0.6988 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1443, allocations: 34.56 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1443, allocations: 0 / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.1445, allocations: 41.59 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1445, allocations: 55.53 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.1446, allocations: 105.8 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1446, allocations: 25.7 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.1447, allocations: 88.03 kB / 0.6992 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.1447, allocations: 0 / 0.6992 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1447, allocations: 17.72 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1448, allocations: 322.7 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.1449, allocations: 0 / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.1449, allocations: 25.7 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.1449, allocations: 17.72 kB / 0.6995 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1449, allocations: 0 / 0.6995 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.51e-05/0.145, allocations: 49.62 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.145, allocations: 4 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.145, allocations: 4 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.145, allocations: 4.062 kB / 0.6996 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.1451, allocations: 8 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1451, allocations: 0 / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1451, allocations: 3.906 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1451, allocations: 7.984 kB / 0.6996 GB, free: 13.75 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.1452, allocations: 113.8 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1452, allocations: 4 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1454, allocations: 127.1 kB / 0.6999 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.631e-05/0.1454, allocations: 180.5 kB / 0.7 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/0.1455, allocations: 184.2 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.318e-05/0.1456, allocations: 184.2 kB / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1458, allocations: 409.1 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.1459, allocations: 105 kB / 0.7009 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.1459, allocations: 109 kB / 0.701 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.481e-05/0.146, allocations: 180.2 kB / 0.7011 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.1461, allocations: 180.2 kB / 0.7013 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.151e-05/0.1462, allocations: 180.2 kB / 0.7015 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/0.1462, allocations: 180.3 kB / 0.7017 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1464, allocations: 311.7 kB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.1465, allocations: 186.1 kB / 0.7021 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.1466, allocations: 180.2 kB / 0.7023 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1467, allocations: 109 kB / 0.7024 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.1468, allocations: 184.2 kB / 0.7026 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.1469, allocations: 104.9 kB / 0.7027 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.1469, allocations: 83.28 kB / 0.7028 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1469, allocations: 0 / 0.7028 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1472, allocations: 19.94 kB / 0.7028 GB, free: 10.29 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004821/0.1476, allocations: 0.8321 MB / 0.7036 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.1477, allocations: 11.94 kB / 0.7036 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1477, allocations: 0 / 0.7036 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1477, allocations: 0 / 0.7036 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1481, allocations: 459.8 kB / 0.704 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.1491, allocations: 1.332 MB / 0.7053 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1494, allocations: 0.6729 MB / 0.706 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.1494, allocations: 11.98 kB / 0.706 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.1495, allocations: 7.438 kB / 0.706 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1495, allocations: 0 / 0.706 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/1.339, allocations: 1.522 MB / 0.7075 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.01, allocations: 14.8 kB / 0.7075 GB, free: 5.434 MB / 0.4981 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/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)