Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00409/0.00409, allocations: 101.7 kB / 15.88 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 198.3 kB / 16.79 MB, free: 6.246 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.333/1.333, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6929/0.6929, allocations: 115.3 MB / 406 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.11 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1315, allocations: 76.19 MB / 0.5558 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005662/0.1372, allocations: 4.095 MB / 0.5598 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1401, allocations: 2.461 MB / 0.5622 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1402, allocations: 0 / 0.5622 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1405, allocations: 43.73 kB / 0.5623 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1408, allocations: 87.48 kB / 0.5624 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.142, allocations: 484.5 kB / 0.5628 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.1424, allocations: 335.8 kB / 0.5632 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1424, allocations: 9.562 kB / 0.5632 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1426, allocations: 107.6 kB / 0.5633 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1428, allocations: 99.64 kB / 0.5634 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1428, allocations: 4 kB / 0.5634 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008582/0.1437, allocations: 463.1 kB / 0.5638 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.1438, allocations: 47.83 kB / 0.5639 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.1439, allocations: 75.66 kB / 0.5639 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.1445, allocations: 415.2 kB / 0.5643 GB, free: 2.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1446, allocations: 0 / 0.5643 GB, free: 2.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1446, allocations: 3.938 kB / 0.5643 GB, free: 2.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1446, allocations: 4 kB / 0.5643 GB, free: 2.008 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007291/0.1453, allocations: 0.4993 MB / 0.5648 GB, free: 1.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1454, allocations: 15.91 kB / 0.5648 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1454, allocations: 50.73 kB / 0.5649 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.1475, allocations: 188.5 kB / 0.5651 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1478, allocations: 204.2 kB / 0.5653 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.1478, allocations: 16.7 kB / 0.5653 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.1479, allocations: 20.38 kB / 0.5653 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1485, allocations: 304.8 kB / 0.5656 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1485, allocations: 0 / 0.5656 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.1486, allocations: 8 kB / 0.5656 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1486, allocations: 8 kB / 0.5656 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.1493, allocations: 255.6 kB / 0.5658 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.151, allocations: 1.4 MB / 0.5672 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.1517, allocations: 190.5 kB / 0.5674 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.1519, allocations: 76.81 kB / 0.5675 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.152, allocations: 0 / 0.5675 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.152, allocations: 42.56 kB / 0.5675 GB, free: 14.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.153e-06/0.152, allocations: 0 / 0.5675 GB, free: 14.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007882/0.1528, allocations: 247.3 kB / 0.5677 GB, free: 14.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1528, allocations: 55.31 kB / 0.5678 GB, free: 14.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.153, allocations: 157.3 kB / 0.5679 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.153, allocations: 33.7 kB / 0.568 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-05/0.1531, allocations: 128 kB / 0.5681 GB, free: 13.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.1532, allocations: 63.09 kB / 0.5682 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.1533, allocations: 57.86 kB / 0.5682 GB, free: 13.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1534, allocations: 326.8 kB / 0.5685 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1536, allocations: 60.42 kB / 0.5686 GB, free: 13.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1539, allocations: 143.9 kB / 0.5687 GB, free: 13.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.1544, allocations: 223.8 kB / 0.5689 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1544, allocations: 0 / 0.5689 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005898/0.155, allocations: 253.2 kB / 0.5692 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.155, allocations: 4 kB / 0.5692 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.155, allocations: 4 kB / 0.5692 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1551, allocations: 4 kB / 0.5692 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.1555, allocations: 63.89 kB / 0.5692 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1555, allocations: 4 kB / 0.5692 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.1557, allocations: 32.02 kB / 0.5693 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.1558, allocations: 19.98 kB / 0.5693 GB, free: 12.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001134/0.1559, allocations: 133.7 kB / 0.5694 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.156, allocations: 15.84 kB / 0.5694 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.1566, allocations: 238.5 kB / 0.5697 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1566, allocations: 0 / 0.5697 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1567, allocations: 0 / 0.5697 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1567, allocations: 0 / 0.5697 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.157, allocations: 253.3 kB / 0.5699 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.157, allocations: 0 / 0.5699 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.1573, allocations: 43.97 kB / 0.5699 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1573, allocations: 0 / 0.5699 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1574, allocations: 7.984 kB / 0.57 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1574, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1574, allocations: 0 / 0.57 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.1579, allocations: 309.2 kB / 0.5703 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1581, allocations: 100.9 kB / 0.5704 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1581, allocations: 4 kB / 0.5704 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.1584, allocations: 23.97 kB / 0.5704 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1585, allocations: 7.984 kB / 0.5704 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.1585, allocations: 12 kB / 0.5704 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.1586, allocations: 115.2 kB / 0.5705 GB, free: 11.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 0.5705 GB, free: 11.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.159, allocations: 68.06 kB / 0.5706 GB, free: 11.12 MB / 446.1 MB 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 (20): * Single equations (assignments): 20 * 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.0009824/0.16, allocations: 0.8699 MB / 0.5714 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.1605, allocations: 179.8 kB / 0.5716 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1605, allocations: 0 / 0.5716 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.1608, allocations: 91.83 kB / 0.5717 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.1614, allocations: 52.58 kB / 0.5717 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1646, allocations: 2.212 MB / 0.5739 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1649, allocations: 0.7134 MB / 0.5746 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000378/0.1653, allocations: 53.92 kB / 0.5746 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1654, allocations: 51.41 kB / 0.5747 GB, free: 6.715 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1654, allocations: 0 / 0.5747 GB, free: 6.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1808, allocations: 4.886 MB / 0.5795 GB, free: 2.039 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.1811, allocations: 232.1 kB / 0.5797 GB, free: 1.785 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.981, allocations: 2.75 kB / 0.5797 GB, free: 1.785 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)