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.000795/0.0007951, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008582/0.0008583, allocations: 175.6 kB / 16.58 MB, free: 6.797 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.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6102/0.6102, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 12 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003751/0.122, allocations: 3.579 MB / 0.5604 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1243, allocations: 2.245 MB / 0.5626 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1244, allocations: 4 kB / 0.5626 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1246, allocations: 27.81 kB / 0.5626 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1248, allocations: 99.47 kB / 0.5627 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.1258, allocations: 423.5 kB / 0.5631 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.1262, allocations: 295.8 kB / 0.5634 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.1262, allocations: 13.55 kB / 0.5634 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1264, allocations: 103.6 kB / 0.5635 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1265, allocations: 99.64 kB / 0.5636 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1266, allocations: 8 kB / 0.5636 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.1272, allocations: 355.3 kB / 0.5639 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.1273, allocations: 35.88 kB / 0.564 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.1274, allocations: 57.64 kB / 0.564 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1277, allocations: 255.7 kB / 0.5643 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1277, allocations: 0 / 0.5643 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1277, allocations: 4 kB / 0.5643 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1277, allocations: 0 / 0.5643 GB, free: 4.051 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.0005785/0.1283, allocations: 475.1 kB / 0.5647 GB, free: 3.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1284, allocations: 8.031 kB / 0.5647 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1284, allocations: 54.55 kB / 0.5648 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.1301, allocations: 191.5 kB / 0.565 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1303, allocations: 202.8 kB / 0.5652 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1304, allocations: 16.28 kB / 0.5652 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1304, allocations: 19.92 kB / 0.5652 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.131, allocations: 296.9 kB / 0.5655 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.131, allocations: 4 kB / 0.5655 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.131, allocations: 11.98 kB / 0.5655 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.131, allocations: 8 kB / 0.5655 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.1316, allocations: 259.5 kB / 0.5658 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.133, allocations: 1.389 MB / 0.5671 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.1335, allocations: 194.5 kB / 0.5673 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1337, allocations: 76.81 kB / 0.5674 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1338, allocations: 7.922 kB / 0.5674 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1338, allocations: 34.56 kB / 0.5674 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.1338, allocations: 0 / 0.5674 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006438/0.1344, allocations: 246.8 kB / 0.5677 GB, free: 332 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.1345, allocations: 55.41 kB / 0.5677 GB, free: 264 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1346, allocations: 151.3 kB / 0.5678 GB, free: 104 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1346, allocations: 29.7 kB / 0.5679 GB, free: 68 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.1347, allocations: 132 kB / 0.568 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.1348, allocations: 59.11 kB / 0.5681 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.1348, allocations: 8 kB / 0.5681 GB, free: 15.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.1349, allocations: 330.8 kB / 0.5684 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1351, allocations: 64.42 kB / 0.5684 GB, free: 15.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1353, allocations: 143.7 kB / 0.5686 GB, free: 15.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1355, allocations: 74.33 kB / 0.5687 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1355, allocations: 4 kB / 0.5687 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004919/0.136, allocations: 253.3 kB / 0.5689 GB, free: 14.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.136, allocations: 11.94 kB / 0.5689 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1361, allocations: 4 kB / 0.5689 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1361, allocations: 4 kB / 0.5689 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.1364, allocations: 63.89 kB / 0.569 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1364, allocations: 7.984 kB / 0.569 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1366, allocations: 23.84 kB / 0.569 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1367, allocations: 11.98 kB / 0.569 GB, free: 14.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1368, allocations: 142.4 kB / 0.5692 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.1368, allocations: 15.81 kB / 0.5692 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.1374, allocations: 226.6 kB / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1374, allocations: 0 / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1374, allocations: 0 / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1374, allocations: 4 kB / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1376, allocations: 261.3 kB / 0.5696 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1377, allocations: 0 / 0.5696 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1379, allocations: 55.91 kB / 0.5697 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1379, allocations: 0 / 0.5697 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.138, allocations: 7.984 kB / 0.5697 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.138, allocations: 0 / 0.5697 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.138, allocations: 0 / 0.5697 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1385, allocations: 297 kB / 0.57 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1385, allocations: 112.8 kB / 0.5701 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.1386, allocations: 0 / 0.5701 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1388, allocations: 23.97 kB / 0.5701 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.1389, allocations: 7.984 kB / 0.5701 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1389, allocations: 12 kB / 0.5701 GB, free: 13.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.139, allocations: 118.9 kB / 0.5702 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.139, allocations: 0 / 0.5702 GB, free: 13.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1393, allocations: 63.94 kB / 0.5703 GB, free: 13.43 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 (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.0007673/0.1401, allocations: 0.8631 MB / 0.5711 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.1405, allocations: 180 kB / 0.5713 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1405, allocations: 0 / 0.5713 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1407, allocations: 91.81 kB / 0.5714 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1412, allocations: 65.89 kB / 0.5715 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.143, allocations: 1.092 MB / 0.5725 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1432, allocations: 0.7176 MB / 0.5732 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.1436, allocations: 53.92 kB / 0.5733 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1437, allocations: 51.16 kB / 0.5733 GB, free: 10.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1437, allocations: 4 kB / 0.5733 GB, free: 10.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1581, allocations: 4.699 MB / 0.5779 GB, free: 5.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.1584, allocations: 219 kB / 0.5781 GB, free: 5.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.703, allocations: 0 / 0.5781 GB, free: 5.508 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/linux/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) Environment - environmentSimulation: