Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",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.001097/0.001102, allocations: 105 kB / 16.4 MB, free: 6.477 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.001104/0.001104, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.365/1.365, 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.7413/0.7413, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 66.53 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 76.18 MB / 0.6316 GB, free: 5.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002688/0.1533, allocations: 1.247 MB / 0.6328 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.1578, allocations: 3.257 MB / 0.636 GB, free: 488 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.1579, allocations: 4 kB / 0.636 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.1579, allocations: 0 / 0.636 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.158, allocations: 7.875 kB / 0.636 GB, free: 476 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.1587, allocations: 103.5 kB / 0.6361 GB, free: 372 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.1588, allocations: 39.86 kB / 0.6361 GB, free: 332 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.1588, allocations: 3.984 kB / 0.6361 GB, free: 328 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.1589, allocations: 23.98 kB / 0.6361 GB, free: 304 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.159, allocations: 11.92 kB / 0.6361 GB, free: 292 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.159, allocations: 4 kB / 0.6361 GB, free: 288 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.1593, allocations: 83.73 kB / 0.6362 GB, free: 204 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1593, allocations: 8 kB / 0.6362 GB, free: 196 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1594, allocations: 19.91 kB / 0.6362 GB, free: 176 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1596, allocations: 66.67 kB / 0.6363 GB, free: 112 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1596, allocations: 0 / 0.6363 GB, free: 112 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1596, allocations: 0 / 0.6363 GB, free: 112 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1597, allocations: 0 / 0.6363 GB, free: 112 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.0005661/0.1602, allocations: 360.2 kB / 0.6367 GB, free: 15.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1603, allocations: 8.031 kB / 0.6367 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1603, allocations: 30.75 kB / 0.6367 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1605, allocations: 4.938 kB / 0.6367 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1606, allocations: 168.4 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1607, allocations: 4.375 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1607, allocations: 4.375 kB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1609, allocations: 61.55 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1609, allocations: 7.984 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1609, allocations: 0 / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1609, allocations: 4 kB / 0.6369 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.161, allocations: 11.98 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.1613, allocations: 173.5 kB / 0.6371 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1614, allocations: 50.56 kB / 0.6372 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.1614, allocations: 20.8 kB / 0.6372 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.1622, allocations: 0.5949 MB / 0.6378 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1623, allocations: 38.56 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1623, allocations: 0 / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006364/0.1629, allocations: 302.4 kB / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.163, allocations: 55.41 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.1631, allocations: 105.8 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1631, allocations: 25.7 kB / 0.6383 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.1632, allocations: 88.05 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1632, allocations: 31.55 kB / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1633, allocations: 21.72 kB / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1634, allocations: 314.8 kB / 0.6387 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.1634, allocations: 15.98 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.1635, allocations: 65.02 kB / 0.6388 GB, free: 13.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1636, allocations: 65.09 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1636, allocations: 4 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001437/0.1638, allocations: 97.45 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1638, allocations: 4 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.1638, allocations: 0 / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.1638, allocations: 4 kB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.1639, allocations: 27.92 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1639, allocations: 7.938 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.164, allocations: 3.938 kB / 0.639 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.164, allocations: 4.125 kB / 0.639 GB, free: 12.95 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 0.0001058/0.1641, allocations: 118.5 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1641, allocations: 4 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1642, allocations: 12.23 kB / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1642, allocations: 0 / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1642, allocations: 0 / 0.6391 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1642, allocations: 7.922 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1645, allocations: 177.7 kB / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1645, allocations: 0 / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.1646, allocations: 19.94 kB / 0.6393 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1646, allocations: 4 kB / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1647, allocations: 3.984 kB / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1647, allocations: 0 / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1647, allocations: 0 / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1649, allocations: 171.4 kB / 0.6395 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.165, allocations: 81.14 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.165, allocations: 0 / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1651, allocations: 8.25 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1651, allocations: 15.92 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1652, allocations: 4 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.1652, allocations: 83.22 kB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1652, allocations: 0 / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1655, allocations: 12 kB / 0.6397 GB, free: 12.15 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.0005083/0.166, allocations: 0.7085 MB / 0.6404 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1662, allocations: 39.97 kB / 0.6404 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1662, allocations: 3.938 kB / 0.6404 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.1662, allocations: 23.92 kB / 0.6404 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1665, allocations: 13.97 kB / 0.6404 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1681, allocations: 1.524 MB / 0.6419 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1684, allocations: 0.6846 MB / 0.6426 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.1685, allocations: 7.984 kB / 0.6426 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1685, allocations: 15.44 kB / 0.6426 GB, free: 8.965 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1685, allocations: 4 kB / 0.6426 GB, free: 8.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.188, allocations: 1.658 MB / 0.6443 GB, free: 7.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.375, allocations: 7.219 kB / 0.6443 GB, free: 7.367 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)