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.0009109/0.0009112, allocations: 93.34 kB / 16.02 MB, free: 84 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.0008922/0.0008922, allocations: 180.3 kB / 16.92 MB, free: 6.707 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 8 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 77.54 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004152/0.1372, allocations: 3.726 MB / 0.5637 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.14, allocations: 2.418 MB / 0.566 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1401, allocations: 4 kB / 0.566 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.1403, allocations: 31.8 kB / 0.5661 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1406, allocations: 95.42 kB / 0.5662 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1417, allocations: 481.5 kB / 0.5666 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.1421, allocations: 335.7 kB / 0.5669 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1422, allocations: 17.55 kB / 0.567 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1424, allocations: 111.6 kB / 0.5671 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1426, allocations: 91.66 kB / 0.5672 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1426, allocations: 8 kB / 0.5672 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.1434, allocations: 467 kB / 0.5676 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1434, allocations: 31.91 kB / 0.5676 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.1435, allocations: 113.3 kB / 0.5677 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.1443, allocations: 407.2 kB / 0.5681 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1443, allocations: 4 kB / 0.5681 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1443, allocations: 0 / 0.5681 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1443, allocations: 0 / 0.5681 GB, free: 0.6016 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.0006397/0.1449, allocations: 485.3 kB / 0.5686 GB, free: 80 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.145, allocations: 12.03 kB / 0.5686 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.1451, allocations: 50.73 kB / 0.5687 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/0.148, allocations: 180.6 kB / 0.5688 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1482, allocations: 204.1 kB / 0.569 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1482, allocations: 12.7 kB / 0.569 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.1483, allocations: 12.38 kB / 0.5691 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.1489, allocations: 308.9 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.149, allocations: 3.938 kB / 0.5694 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.149, allocations: 12 kB / 0.5694 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.149, allocations: 4 kB / 0.5694 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.1498, allocations: 259.6 kB / 0.5696 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.1513, allocations: 1.396 MB / 0.571 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.152, allocations: 194.4 kB / 0.5712 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1523, allocations: 80.72 kB / 0.5712 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1523, allocations: 11.98 kB / 0.5713 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1523, allocations: 34.55 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1523, allocations: 4 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007724/0.1531, allocations: 241.3 kB / 0.5715 GB, free: 12.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1532, allocations: 59.39 kB / 0.5716 GB, free: 12.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1533, allocations: 156.6 kB / 0.5717 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1533, allocations: 29.7 kB / 0.5718 GB, free: 12.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.1534, allocations: 132 kB / 0.5719 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1535, allocations: 59.11 kB / 0.5719 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1535, allocations: 29.7 kB / 0.572 GB, free: 12.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1536, allocations: 322.8 kB / 0.5723 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1539, allocations: 64.42 kB / 0.5723 GB, free: 11.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1541, allocations: 148 kB / 0.5725 GB, free: 11.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.1546, allocations: 215.4 kB / 0.5727 GB, free: 11.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1546, allocations: 4 kB / 0.5727 GB, free: 11.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005864/0.1552, allocations: 248.1 kB / 0.5729 GB, free: 11.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1553, allocations: 8 kB / 0.5729 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1553, allocations: 4 kB / 0.5729 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1553, allocations: 11.92 kB / 0.5729 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.1556, allocations: 63.89 kB / 0.573 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1557, allocations: 4 kB / 0.573 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.1559, allocations: 31.73 kB / 0.573 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1559, allocations: 8 kB / 0.573 GB, free: 11.19 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.0001192/0.1561, allocations: 137.7 kB / 0.5732 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.1561, allocations: 15.81 kB / 0.5732 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.1567, allocations: 226.7 kB / 0.5734 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1568, allocations: 4 kB / 0.5734 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1568, allocations: 0 / 0.5734 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1568, allocations: 3.984 kB / 0.5734 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1571, allocations: 253.3 kB / 0.5737 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1571, allocations: 0 / 0.5737 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.1574, allocations: 59.89 kB / 0.5737 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1574, allocations: 0 / 0.5737 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1574, allocations: 4 kB / 0.5737 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1574, allocations: 7.984 kB / 0.5737 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1574, allocations: 0 / 0.5737 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.158, allocations: 301 kB / 0.574 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.1581, allocations: 105 kB / 0.5741 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1582, allocations: 4 kB / 0.5741 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1585, allocations: 19.98 kB / 0.5741 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.1585, allocations: 11.92 kB / 0.5741 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1585, allocations: 15.98 kB / 0.5742 GB, free: 9.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.1586, allocations: 114.7 kB / 0.5743 GB, free: 9.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1586, allocations: 0 / 0.5743 GB, free: 9.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.159, allocations: 75.95 kB / 0.5743 GB, free: 9.762 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.0008861/0.1599, allocations: 0.8566 MB / 0.5752 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005198/0.1604, allocations: 185.6 kB / 0.5754 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1604, allocations: 0 / 0.5754 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1606, allocations: 87.84 kB / 0.5754 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.1612, allocations: 56.45 kB / 0.5755 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.1641, allocations: 2.255 MB / 0.5777 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1644, allocations: 0.7134 MB / 0.5784 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003358/0.1647, allocations: 53.92 kB / 0.5784 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1649, allocations: 46.55 kB / 0.5785 GB, free: 5.328 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1649, allocations: 4 kB / 0.5785 GB, free: 5.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1798, allocations: 4.814 MB / 0.5832 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.18, allocations: 224.6 kB / 0.5834 GB, free: 500 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.02, allocations: 7.438 kB / 0.5834 GB, free: 496 kB / 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)