Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001535/0.001535, allocations: 104.5 kB / 16.4 MB, free: 6.445 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.001729/0.001729, 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.62 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002225/0.1536, allocations: 1.247 MB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.1571, allocations: 2.93 MB / 0.6356 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1571, allocations: 0 / 0.6356 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1572, allocations: 3.938 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1573, allocations: 7.938 kB / 0.6356 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1578, allocations: 103.5 kB / 0.6357 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.1578, allocations: 31.91 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.1579, allocations: 8 kB / 0.6358 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.1584, allocations: 155.5 kB / 0.6359 GB, free: 424 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.1584, allocations: 19.97 kB / 0.636 GB, free: 404 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1584, allocations: 0 / 0.636 GB, free: 404 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1586, allocations: 71.83 kB / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.1586, allocations: 15.91 kB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1587, allocations: 12 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1588, allocations: 62.66 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1588, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1589, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1589, allocations: 0 / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004108/0.1593, allocations: 348.3 kB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1593, allocations: 12.03 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1594, allocations: 42.73 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1594, allocations: 4.938 kB / 0.6365 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1595, allocations: 164.3 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1595, allocations: 384 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1596, allocations: 8.375 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1597, allocations: 57.55 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1597, allocations: 0 / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1597, allocations: 4 kB / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1598, allocations: 0 / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.1598, allocations: 19.98 kB / 0.6367 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.16, allocations: 169.6 kB / 0.6369 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.1601, allocations: 54.5 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.1601, allocations: 16.84 kB / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.1608, allocations: 0.5871 MB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1608, allocations: 38.56 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1608, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005803/0.1614, allocations: 298.1 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1615, allocations: 51.41 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.1616, allocations: 109.8 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1616, allocations: 29.7 kB / 0.638 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1616, allocations: 88.05 kB / 0.6381 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1617, allocations: 31.66 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1617, allocations: 25.72 kB / 0.6382 GB, free: 13.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.1618, allocations: 314.8 kB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.1618, allocations: 16.38 kB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.1619, allocations: 53.08 kB / 0.6385 GB, free: 13.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.162, allocations: 85.25 kB / 0.6386 GB, free: 13.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.162, allocations: 4 kB / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.1621, allocations: 93.58 kB / 0.6387 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1622, allocations: 8 kB / 0.6387 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1622, allocations: 4 kB / 0.6387 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1622, allocations: 0 / 0.6387 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.1623, allocations: 19.94 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1623, allocations: 4 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.1623, allocations: 7.938 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1623, allocations: 7.984 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.144e-05/0.1624, allocations: 113.8 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1624, allocations: 4 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.1625, allocations: 11.97 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1625, allocations: 0 / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1625, allocations: 0 / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1625, allocations: 7.938 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1627, allocations: 173.6 kB / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1627, allocations: 0 / 0.6391 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.1628, allocations: 19.92 kB / 0.6391 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1628, allocations: 0 / 0.6391 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1628, allocations: 4 kB / 0.6391 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1629, allocations: 0 / 0.6391 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1629, allocations: 8 kB / 0.6391 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.163, allocations: 175.4 kB / 0.6393 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1631, allocations: 81.11 kB / 0.6393 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1631, allocations: 0 / 0.6393 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1632, allocations: 4.031 kB / 0.6393 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.1632, allocations: 7.938 kB / 0.6394 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1633, allocations: 4 kB / 0.6394 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.1633, allocations: 87.22 kB / 0.6394 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1633, allocations: 0 / 0.6394 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1636, allocations: 16 kB / 0.6395 GB, free: 12.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004005/0.164, allocations: 0.7047 MB / 0.6401 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1641, allocations: 47.95 kB / 0.6402 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.1641, allocations: 4 kB / 0.6402 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.1641, allocations: 19.88 kB / 0.6402 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1644, allocations: 11.88 kB / 0.6402 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1658, allocations: 1.532 MB / 0.6417 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.166, allocations: 0.688 MB / 0.6424 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.1661, allocations: 8 kB / 0.6424 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.1661, allocations: 19.38 kB / 0.6424 GB, free: 9.094 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/0.1661, allocations: 0 / 0.6424 GB, free: 9.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.185, allocations: 1.687 MB / 0.6441 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.359, allocations: 4.062 kB / 0.6441 GB, free: 7.5 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)