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.001245/0.001245, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.001304/0.001304, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8831/0.8831, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 66.44 kB / 0.5573 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 76.18 MB / 0.6317 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005921/0.1404, allocations: 4.034 MB / 0.6356 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1432, allocations: 2.422 MB / 0.638 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1433, allocations: 0 / 0.638 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1436, allocations: 47.62 kB / 0.638 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1439, allocations: 103.3 kB / 0.6381 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1453, allocations: 0.52 MB / 0.6386 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1457, allocations: 255.9 kB / 0.6389 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.1457, allocations: 17.53 kB / 0.6389 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.146, allocations: 119.5 kB / 0.639 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1461, allocations: 99.59 kB / 0.6391 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1462, allocations: 8 kB / 0.6391 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.1471, allocations: 451.3 kB / 0.6395 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.1472, allocations: 47.81 kB / 0.6396 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.1473, allocations: 79.66 kB / 0.6396 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.1481, allocations: 414.6 kB / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1481, allocations: 0 / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1481, allocations: 0 / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1481, allocations: 0 / 0.64 GB, free: 12.25 MB / 494.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.0008445/0.149, allocations: 0.4993 MB / 0.6405 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.149, allocations: 19.95 kB / 0.6405 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.1491, allocations: 50.73 kB / 0.6406 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.1511, allocations: 176.5 kB / 0.6408 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1514, allocations: 204.2 kB / 0.641 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1515, allocations: 20.7 kB / 0.641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1515, allocations: 12.38 kB / 0.641 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.1522, allocations: 308.2 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1522, allocations: 3.938 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1522, allocations: 8 kB / 0.6413 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1523, allocations: 7.984 kB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.153, allocations: 264.1 kB / 0.6416 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1547, allocations: 1.392 MB / 0.6429 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.1554, allocations: 194.5 kB / 0.6431 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1557, allocations: 80.81 kB / 0.6432 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1558, allocations: 0 / 0.6432 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1558, allocations: 42.55 kB / 0.6432 GB, free: 8.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.1558, allocations: 0 / 0.6432 GB, free: 8.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008422/0.1567, allocations: 242.7 kB / 0.6434 GB, free: 8.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1567, allocations: 63.3 kB / 0.6435 GB, free: 8.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1569, allocations: 158.2 kB / 0.6437 GB, free: 8.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1569, allocations: 33.7 kB / 0.6437 GB, free: 8.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.157, allocations: 128 kB / 0.6438 GB, free: 8.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.157, allocations: 63.09 kB / 0.6439 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.1571, allocations: 57.86 kB / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1572, allocations: 330.7 kB / 0.6442 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1575, allocations: 64.42 kB / 0.6443 GB, free: 7.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1578, allocations: 144 kB / 0.6444 GB, free: 7.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.1583, allocations: 219.1 kB / 0.6446 GB, free: 7.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1583, allocations: 4 kB / 0.6447 GB, free: 7.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00063/0.1589, allocations: 246.9 kB / 0.6449 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.159, allocations: 8 kB / 0.6449 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.159, allocations: 4 kB / 0.6449 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.159, allocations: 7.984 kB / 0.6449 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.1594, allocations: 64.2 kB / 0.645 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1594, allocations: 4 kB / 0.645 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1596, allocations: 31.69 kB / 0.645 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.1597, allocations: 15.98 kB / 0.645 GB, free: 6.754 MB / 494.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.000136/0.1598, allocations: 129.7 kB / 0.6451 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.1599, allocations: 11.91 kB / 0.6452 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.1606, allocations: 236.6 kB / 0.6454 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1606, allocations: 4 kB / 0.6454 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1606, allocations: 0 / 0.6454 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1606, allocations: 0 / 0.6454 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1609, allocations: 245.4 kB / 0.6456 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1609, allocations: 0 / 0.6456 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.1612, allocations: 47.89 kB / 0.6457 GB, free: 6.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1612, allocations: 4 kB / 0.6457 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1613, allocations: 4 kB / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1613, allocations: 0 / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1613, allocations: 4 kB / 0.6457 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.1619, allocations: 299.8 kB / 0.646 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.162, allocations: 100.9 kB / 0.6461 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.1621, allocations: 15.98 kB / 0.6461 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.1624, allocations: 15.98 kB / 0.6461 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1624, allocations: 11.98 kB / 0.6461 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.1624, allocations: 8 kB / 0.6461 GB, free: 5.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.1625, allocations: 115.2 kB / 0.6462 GB, free: 5.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1626, allocations: 0 / 0.6462 GB, free: 5.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.163, allocations: 63.94 kB / 0.6463 GB, free: 5.359 MB / 494.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.0009925/0.164, allocations: 0.8769 MB / 0.6471 GB, free: 4.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.1646, allocations: 171.8 kB / 0.6473 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1646, allocations: 0 / 0.6473 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.1648, allocations: 92.5 kB / 0.6474 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1653, allocations: 59.88 kB / 0.6474 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.1688, allocations: 2.165 MB / 0.6496 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.169, allocations: 0.7212 MB / 0.6503 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.1693, allocations: 45.94 kB / 0.6503 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1695, allocations: 51.41 kB / 0.6504 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1695, allocations: 0 / 0.6504 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1912, allocations: 5.27 MB / 0.6555 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.212, allocations: 15.72 kB / 0.6555 GB, free: 11.89 MB / 0.4981 GB (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)