Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",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.00141/0.00141, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001439/0.001439, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.284/1.284, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6866/0.6866, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.03 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3172, allocations: 76.16 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001558/0.3188, allocations: 0.5823 MB / 0.5566 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.3189, allocations: 42.91 kB / 0.5566 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.319, allocations: 0.875 kB / 0.5566 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.319, allocations: 3.938 kB / 0.5566 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3192, allocations: 4.219 kB / 0.5566 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.944e-05/0.3192, allocations: 4.391 kB / 0.5566 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.3193, allocations: 10.95 kB / 0.5566 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.3193, allocations: 1.125 kB / 0.5566 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.3193, allocations: 14.48 kB / 0.5567 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.3194, allocations: 8.203 kB / 0.5567 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3194, allocations: 0 / 0.5567 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.3194, allocations: 2.844 kB / 0.5567 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.3195, allocations: 4.688 kB / 0.5567 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.3195, allocations: 11.16 kB / 0.5567 GB, free: 35.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.689e-05/0.3196, allocations: 13.73 kB / 0.5567 GB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3196, allocations: 1.062 kB / 0.5567 GB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3196, allocations: 0 / 0.5567 GB, free: 35.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3196, allocations: 1.531 kB / 0.5567 GB, free: 35.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003051/0.3199, allocations: 329.4 kB / 0.557 GB, free: 35.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.32, allocations: 15.12 kB / 0.557 GB, free: 35.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.069e-05/0.32, allocations: 33.12 kB / 0.5571 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.32, allocations: 0.9375 kB / 0.5571 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3201, allocations: 176.1 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-06/0.3201, allocations: 2 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3202, allocations: 2.5 kB / 0.5572 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.279e-05/0.3202, allocations: 36.67 kB / 0.5573 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3202, allocations: 4.688 kB / 0.5573 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.3203, allocations: 0 / 0.5573 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3203, allocations: 1.406 kB / 0.5573 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.3203, allocations: 6.5 kB / 0.5573 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.3204, allocations: 156.3 kB / 0.5574 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.3204, allocations: 21.33 kB / 0.5574 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.3204, allocations: 10.38 kB / 0.5575 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3205, allocations: 1.5 kB / 0.5575 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.3205, allocations: 36.41 kB / 0.5575 GB, free: 34.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3205, allocations: 0 / 0.5575 GB, free: 34.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.3206, allocations: 44.44 kB / 0.5575 GB, free: 34.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.3206, allocations: 54.83 kB / 0.5576 GB, free: 34.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.3207, allocations: 117.8 kB / 0.5577 GB, free: 34.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.3207, allocations: 25.7 kB / 0.5577 GB, free: 34.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.3207, allocations: 81.42 kB / 0.5578 GB, free: 34.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.3207, allocations: 3.219 kB / 0.5578 GB, free: 34.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3208, allocations: 21.19 kB / 0.5578 GB, free: 34.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.3208, allocations: 315 kB / 0.5581 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.3208, allocations: 4.094 kB / 0.5581 GB, free: 34.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.3209, allocations: 15.42 kB / 0.5581 GB, free: 34.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.3209, allocations: 33.52 kB / 0.5582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3209, allocations: 3.188 kB / 0.5582 GB, free: 34.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.001e-05/0.321, allocations: 44.86 kB / 0.5582 GB, free: 34.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.321, allocations: 9.5 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.321, allocations: 0 / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.321, allocations: 1.406 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.3211, allocations: 4.844 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.3211, allocations: 0 / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.3211, allocations: 2.281 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3211, allocations: 2.984 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.087e-05/0.3212, allocations: 114.1 kB / 0.5584 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.3212, allocations: 5.891 kB / 0.5584 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.3213, allocations: 59.56 kB / 0.5584 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3213, allocations: 0 / 0.5584 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3213, allocations: 1.219 kB / 0.5584 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3213, allocations: 5.438 kB / 0.5584 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.558e-05/0.3213, allocations: 155.5 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3214, allocations: 0.5938 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.3214, allocations: 6.125 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3214, allocations: 6.328 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3214, allocations: 1.281 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3214, allocations: 0 / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3214, allocations: 2.688 kB / 0.5586 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.172e-05/0.3215, allocations: 75.97 kB / 0.5587 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.3216, allocations: 82.58 kB / 0.5587 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3216, allocations: 4.875 kB / 0.5587 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.3216, allocations: 1.156 kB / 0.5587 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.3216, allocations: 5.969 kB / 0.5587 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.3216, allocations: 6.719 kB / 0.5588 GB, free: 33.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.3217, allocations: 90.31 kB / 0.5588 GB, free: 33.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3217, allocations: 0 / 0.5588 GB, free: 33.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001725/0.3219, allocations: 4.312 kB / 0.5588 GB, free: 33.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002183/0.3221, allocations: 0.6109 MB / 0.5594 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.3222, allocations: 15.95 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3222, allocations: 4 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.3222, allocations: 8.297 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3223, allocations: 3.75 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.3229, allocations: 1.153 MB / 0.5606 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.323, allocations: 0.6801 MB / 0.5613 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3231, allocations: 2.219 kB / 0.5613 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3231, allocations: 14.72 kB / 0.5613 GB, free: 31.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3231, allocations: 0 / 0.5613 GB, free: 31.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/0.511, allocations: 1.081 MB / 0.5623 GB, free: 30.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.5112, allocations: 183.4 kB / 0.5625 GB, free: 30.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.481, allocations: 0 / 0.5625 GB, free: 30.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)