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.00152/0.00152, allocations: 96.27 kB / 15.69 MB, free: 480 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.001759/0.001759, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.562/2.562, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.338/1.338, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005642/0.0005643, allocations: 8.656 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3287, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.003201/0.332, allocations: 0.961 MB / 0.5576 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008089/0.3402, allocations: 2.819 MB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.3404, allocations: 0 / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/0.3404, allocations: 3.984 kB / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3406, allocations: 7.984 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.3417, allocations: 90.89 kB / 0.5605 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3418, allocations: 27.91 kB / 0.5605 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.3419, allocations: 0 / 0.5605 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.342, allocations: 19.97 kB / 0.5605 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3422, allocations: 19.92 kB / 0.5606 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3422, allocations: 0 / 0.5606 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.3427, allocations: 67.83 kB / 0.5606 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3428, allocations: 11.98 kB / 0.5606 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3428, allocations: 37.64 kB / 0.5607 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.3431, allocations: 32.17 kB / 0.5607 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3431, allocations: 0 / 0.5607 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3431, allocations: 0 / 0.5607 GB, free: 7.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3432, allocations: 0 / 0.5607 GB, free: 7.609 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.0008409/0.344, allocations: 331.4 kB / 0.561 GB, free: 7.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.357e-05/0.3441, allocations: 8.031 kB / 0.561 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.3443, allocations: 38.56 kB / 0.5611 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.3445, allocations: 11.91 kB / 0.5611 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3449, allocations: 170.9 kB / 0.5612 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.3449, allocations: 4 kB / 0.5612 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.345, allocations: 3.953 kB / 0.5613 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.3453, allocations: 53.67 kB / 0.5613 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3453, allocations: 0 / 0.5613 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3453, allocations: 4 kB / 0.5613 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3454, allocations: 0 / 0.5613 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3455, allocations: 15.98 kB / 0.5613 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.346, allocations: 173.6 kB / 0.5615 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.3462, allocations: 50.5 kB / 0.5615 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.3479, allocations: 0.5906 MB / 0.5621 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.983e-05/0.348, allocations: 34.56 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 2.925e-06/0.348, allocations: 4 kB / 0.5621 GB, free: 5.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001251/0.3493, allocations: 298.5 kB / 0.5624 GB, free: 5.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.3494, allocations: 55.41 kB / 0.5625 GB, free: 5.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3496, allocations: 101.8 kB / 0.5626 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3496, allocations: 33.64 kB / 0.5626 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3497, allocations: 96.03 kB / 0.5627 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.3498, allocations: 27.55 kB / 0.5627 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.3498, allocations: 8 kB / 0.5627 GB, free: 5.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.3501, allocations: 318.8 kB / 0.563 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.3502, allocations: 15.98 kB / 0.5631 GB, free: 4.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3503, allocations: 49.14 kB / 0.5631 GB, free: 4.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.838e-05/0.3504, allocations: 20 kB / 0.5631 GB, free: 4.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3504, allocations: 4 kB / 0.5631 GB, free: 4.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002833/0.3507, allocations: 89.55 kB / 0.5632 GB, free: 4.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.3508, allocations: 4 kB / 0.5632 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3508, allocations: 0 / 0.5632 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.3508, allocations: 4 kB / 0.5632 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.351, allocations: 23.92 kB / 0.5632 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.351, allocations: 4 kB / 0.5632 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.3511, allocations: 8.125 kB / 0.5633 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3512, allocations: 7.938 kB / 0.5633 GB, free: 4.594 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 0.0002021/0.3514, allocations: 117.8 kB / 0.5634 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.3514, allocations: 7.906 kB / 0.5634 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3515, allocations: 11.91 kB / 0.5634 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3515, allocations: 0 / 0.5634 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3516, allocations: 3.938 kB / 0.5634 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3516, allocations: 0 / 0.5634 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.3521, allocations: 173.6 kB / 0.5636 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.3521, allocations: 4 kB / 0.5636 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3523, allocations: 19.98 kB / 0.5636 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.3523, allocations: 0 / 0.5636 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.3524, allocations: 4 kB / 0.5636 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3524, allocations: 0 / 0.5636 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3524, allocations: 0 / 0.5636 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.3529, allocations: 171.5 kB / 0.5638 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.353, allocations: 88.95 kB / 0.5638 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3531, allocations: 4.047 kB / 0.5638 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.3533, allocations: 8.422 kB / 0.5639 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3533, allocations: 4 kB / 0.5639 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3534, allocations: 4 kB / 0.5639 GB, free: 3.891 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.432e-05/0.3535, allocations: 83.27 kB / 0.5639 GB, free: 3.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.3535, allocations: 0 / 0.5639 GB, free: 3.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005239/0.354, allocations: 12 kB / 0.564 GB, free: 3.797 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.0009877/0.355, allocations: 0.7021 MB / 0.5646 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3553, allocations: 43.86 kB / 0.5647 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.3554, allocations: 0 / 0.5647 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.3554, allocations: 20.22 kB / 0.5647 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.3558, allocations: 4 kB / 0.5647 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.3586, allocations: 1.431 MB / 0.5661 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.3593, allocations: 0.6848 MB / 0.5668 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3594, allocations: 8 kB / 0.5668 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.3596, allocations: 19.48 kB / 0.5668 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3596, allocations: 3.938 kB / 0.5668 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.3923, allocations: 1.393 MB / 0.5682 GB, free: 15.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004778/0.3928, allocations: 168.4 kB / 0.5683 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.245, allocations: 0 / 0.5683 GB, free: 15.24 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: