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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6034/0.6034, allocations: 90.8 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 101.4 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.958e-05/3.966e-05, allocations: 0 / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5333, allocations: 100.6 MB / 0.6586 GB, free: 3.668 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.5335, allocations: 67.95 kB / 0.6586 GB, free: 3.602 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001091/0.5346, allocations: 487 kB / 0.6591 GB, free: 3.125 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.5346, allocations: 0 / 0.6591 GB, free: 3.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5347, allocations: 6.062 kB / 0.6591 GB, free: 3.121 MB / 474.7 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.0002896/0.535, allocations: 318.1 kB / 0.6594 GB, free: 2.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.535, allocations: 11.98 kB / 0.6594 GB, free: 2.758 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.5351, allocations: 34.56 kB / 0.6595 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.5351, allocations: 8.484 kB / 0.6595 GB, free: 2.707 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.5353, allocations: 182.5 kB / 0.6596 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.5353, allocations: 0 / 0.6596 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.5354, allocations: 3.984 kB / 0.6596 GB, free: 2.488 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.971e-05/0.5355, allocations: 41.56 kB / 0.6597 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5355, allocations: 0 / 0.6597 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.5355, allocations: 0 / 0.6597 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5355, allocations: 0 / 0.6597 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.5355, allocations: 9.172 kB / 0.6597 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.5357, allocations: 153.7 kB / 0.6598 GB, free: 2.234 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.5358, allocations: 26.56 kB / 0.6599 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.5358, allocations: 8.797 kB / 0.6599 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5358, allocations: 4.062 kB / 0.6599 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5358, allocations: 34.56 kB / 0.6599 GB, free: 2.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.5358, allocations: 0 / 0.6599 GB, free: 2.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.536, allocations: 37.69 kB / 0.6599 GB, free: 2.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5361, allocations: 55.44 kB / 0.66 GB, free: 2.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.5361, allocations: 101 kB / 0.6601 GB, free: 1.926 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.5362, allocations: 25.7 kB / 0.6601 GB, free: 1.895 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.5362, allocations: 84.14 kB / 0.6602 GB, free: 1.809 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.5362, allocations: 7.906 kB / 0.6602 GB, free: 1.801 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.5362, allocations: 1.594 kB / 0.6602 GB, free: 1.801 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5364, allocations: 314.8 kB / 0.6605 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.5364, allocations: 4 kB / 0.6605 GB, free: 1.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.5364, allocations: 25.64 kB / 0.6605 GB, free: 1.449 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.5365, allocations: 4 kB / 0.6605 GB, free: 1.445 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5365, allocations: 0 / 0.6605 GB, free: 1.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.802e-05/0.5365, allocations: 45.69 kB / 0.6606 GB, free: 1.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5366, allocations: 5.094 kB / 0.6606 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5366, allocations: 4 kB / 0.6606 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5366, allocations: 0 / 0.6606 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.5367, allocations: 12.05 kB / 0.6606 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5367, allocations: 4 kB / 0.6606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.5367, allocations: 0 / 0.6606 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5367, allocations: 0 / 0.6606 GB, free: 1.371 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.5368, allocations: 112.9 kB / 0.6607 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.5368, allocations: 0 / 0.6607 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.537, allocations: 52.72 kB / 0.6608 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.537, allocations: 1.031 kB / 0.6608 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.537, allocations: 7.922 kB / 0.6608 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.537, allocations: 4.031 kB / 0.6608 GB, free: 1.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.5372, allocations: 161.6 kB / 0.6609 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5372, allocations: 0.6875 kB / 0.6609 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.5372, allocations: 7.938 kB / 0.6609 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5372, allocations: 0 / 0.6609 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.5373, allocations: 0 / 0.6609 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5373, allocations: 6.312 kB / 0.6609 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5373, allocations: 0 / 0.6609 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5374, allocations: 81.06 kB / 0.661 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.5375, allocations: 78.42 kB / 0.6611 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.5375, allocations: 4.031 kB / 0.6611 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.5375, allocations: 0 / 0.6611 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.5375, allocations: 4 kB / 0.6611 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.5375, allocations: 0 / 0.6611 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.863e-05/0.5376, allocations: 87.27 kB / 0.6612 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5376, allocations: 0 / 0.6612 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.5378, allocations: 8 kB / 0.6612 GB, free: 0.6719 MB / 474.7 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 () * 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 (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.0003927/0.5382, allocations: 0.6202 MB / 0.6618 GB, free: 24 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.5383, allocations: 8 kB / 0.6618 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5383, allocations: 0 / 0.6618 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.5383, allocations: 15.92 kB / 0.6618 GB, free: 0 / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.5384, allocations: 9.969 kB / 0.6618 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.5388, allocations: 112.6 kB / 0.6619 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.539, allocations: 0.6887 MB / 0.6626 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.605e-05/0.5391, allocations: 3.938 kB / 0.6626 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.5391, allocations: 11.44 kB / 0.6626 GB, free: 15.11 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5391, allocations: 0 / 0.6626 GB, free: 15.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.552, allocations: 0.9718 MB / 0.6636 GB, free: 14.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.5523, allocations: 139 kB / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.052, allocations: 3.938 kB / 0.6637 GB, free: 14.06 MB / 490.7 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/linux/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)