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.0007049/0.0007049, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007146/0.0007146, allocations: 175.7 kB / 16.58 MB, free: 6.844 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.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6079/0.6079, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002636, allocations: 12.22 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.0009546/0.117, allocations: 0.9705 MB / 0.5578 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1196, allocations: 3.046 MB / 0.5608 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1197, allocations: 0 / 0.5608 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1197, allocations: 0 / 0.5608 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.1197, allocations: 11.88 kB / 0.5608 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.12, allocations: 87.61 kB / 0.5609 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.1201, allocations: 31.86 kB / 0.5609 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.466e-05/0.1201, allocations: 0 / 0.5609 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.1202, allocations: 23.97 kB / 0.5609 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.1202, allocations: 19.92 kB / 0.561 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1202, allocations: 0 / 0.561 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1204, allocations: 47.84 kB / 0.561 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1204, allocations: 15.98 kB / 0.561 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.1204, allocations: 29.7 kB / 0.5611 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/0.1205, allocations: 44.16 kB / 0.5611 GB, free: 7.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1205, allocations: 0 / 0.5611 GB, free: 7.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1205, allocations: 0 / 0.5611 GB, free: 7.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.1205, allocations: 0 / 0.5611 GB, free: 7.324 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002635/0.1208, allocations: 331.4 kB / 0.5614 GB, free: 6.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1208, allocations: 8.031 kB / 0.5614 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.1209, allocations: 30.56 kB / 0.5615 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.121, allocations: 19.83 kB / 0.5615 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.121, allocations: 167 kB / 0.5616 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1211, allocations: 4 kB / 0.5616 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1211, allocations: 7.953 kB / 0.5616 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1212, allocations: 57.66 kB / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.1212, allocations: 0 / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1212, allocations: 0 / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1212, allocations: 0 / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.1213, allocations: 23.92 kB / 0.5617 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1214, allocations: 165.7 kB / 0.5619 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.1215, allocations: 50.5 kB / 0.5619 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.1215, allocations: 20.84 kB / 0.5619 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.1221, allocations: 0.5948 MB / 0.5625 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1221, allocations: 38.56 kB / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1221, allocations: 0 / 0.5626 GB, free: 5.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004306/0.1225, allocations: 298.2 kB / 0.5628 GB, free: 5.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1226, allocations: 51.41 kB / 0.5629 GB, free: 5.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.1226, allocations: 101.8 kB / 0.563 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1226, allocations: 25.7 kB / 0.563 GB, free: 4.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1227, allocations: 88.05 kB / 0.5631 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1227, allocations: 31.55 kB / 0.5631 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1227, allocations: 4 kB / 0.5631 GB, free: 4.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.1228, allocations: 318.8 kB / 0.5634 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.1228, allocations: 15.98 kB / 0.5635 GB, free: 4.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.1229, allocations: 60.8 kB / 0.5635 GB, free: 4.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.1229, allocations: 16 kB / 0.5635 GB, free: 4.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1229, allocations: 0 / 0.5635 GB, free: 4.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001128/0.123, allocations: 101.8 kB / 0.5636 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.123, allocations: 6.031 kB / 0.5636 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.123, allocations: 3.984 kB / 0.5636 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1231, allocations: 4 kB / 0.5636 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.1231, allocations: 16.12 kB / 0.5637 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1231, allocations: 15.92 kB / 0.5637 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.1232, allocations: 0 / 0.5637 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1232, allocations: 4 kB / 0.5637 GB, free: 4.293 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.1233, allocations: 121.7 kB / 0.5638 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1233, allocations: 3.906 kB / 0.5638 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.1233, allocations: 12.41 kB / 0.5638 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1233, allocations: 0 / 0.5638 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1233, allocations: 0 / 0.5638 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1233, allocations: 4 kB / 0.5638 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1235, allocations: 185.7 kB / 0.564 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1235, allocations: 0 / 0.564 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.1236, allocations: 19.98 kB / 0.564 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1236, allocations: 0 / 0.564 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1236, allocations: 0 / 0.564 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1236, allocations: 0 / 0.564 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1236, allocations: 0 / 0.564 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.1238, allocations: 171.4 kB / 0.5642 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1238, allocations: 89.02 kB / 0.5643 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1239, allocations: 4 kB / 0.5643 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.1239, allocations: 8.031 kB / 0.5643 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.124, allocations: 0 / 0.5643 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.124, allocations: 4 kB / 0.5643 GB, free: 3.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.124, allocations: 83.28 kB / 0.5643 GB, free: 3.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.124, allocations: 0 / 0.5643 GB, free: 3.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1242, allocations: 8 kB / 0.5644 GB, free: 3.5 MB / 430.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 (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.0003246/0.1246, allocations: 0.717 MB / 0.5651 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.62e-05/0.1247, allocations: 39.92 kB / 0.5651 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1247, allocations: 3.938 kB / 0.5651 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.1247, allocations: 12 kB / 0.5651 GB, free: 2.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1249, allocations: 12.25 kB / 0.5651 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.1257, allocations: 0.6805 MB / 0.5658 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1259, allocations: 0.6816 MB / 0.5665 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.1259, allocations: 12.05 kB / 0.5665 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.126, allocations: 15.5 kB / 0.5665 GB, free: 1.207 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.126, allocations: 0 / 0.5665 GB, free: 1.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009367/0.1353, allocations: 1.401 MB / 0.5678 GB, free: 15.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.1355, allocations: 182.1 kB / 0.568 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/1.542, allocations: 0 / 0.568 GB, free: 15.69 MB / 446.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/linux/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) Environment - environmentSimulation: