Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.001587/0.001587, allocations: 96.89 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.002324/0.002324, allocations: 174.9 kB / 16.57 MB, free: 6.855 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.747/2.747, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.245/1.245, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005608, allocations: 11.98 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3173, allocations: 77.1 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.0009659/0.3184, allocations: 246.3 kB / 0.5569 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.3186, allocations: 15.98 kB / 0.557 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.3186, allocations: 3.938 kB / 0.557 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.3186, allocations: 0 / 0.557 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3189, allocations: 4 kB / 0.557 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.3189, allocations: 0 / 0.557 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.3189, allocations: 3.938 kB / 0.557 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.319, allocations: 3.984 kB / 0.557 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.3191, allocations: 4 kB / 0.557 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.3192, allocations: 3.984 kB / 0.557 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3192, allocations: 7.938 kB / 0.557 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3192, allocations: 0 / 0.557 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.3192, allocations: 4 kB / 0.557 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.3193, allocations: 25.7 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.657e-05/0.3193, allocations: 4 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3193, allocations: 0 / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.3193, allocations: 0 / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3193, allocations: 0 / 0.557 GB, free: 11.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003798/0.3197, allocations: 307.4 kB / 0.5573 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/0.3198, allocations: 12.09 kB / 0.5573 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.3199, allocations: 38.5 kB / 0.5574 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3199, allocations: 0 / 0.5574 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3201, allocations: 159.1 kB / 0.5575 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3201, allocations: 0 / 0.5575 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3201, allocations: 7.953 kB / 0.5575 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3203, allocations: 43.41 kB / 0.5576 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3203, allocations: 4 kB / 0.5576 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3203, allocations: 0 / 0.5576 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3204, allocations: 4 kB / 0.5576 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.3204, allocations: 3.938 kB / 0.5576 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.3206, allocations: 154.5 kB / 0.5577 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/0.3207, allocations: 37.2 kB / 0.5578 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.3207, allocations: 3.938 kB / 0.5578 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3208, allocations: 42.52 kB / 0.5578 GB, free: 10.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3208, allocations: 4.125 kB / 0.5578 GB, free: 10.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002037/0.321, allocations: 37.64 kB / 0.5578 GB, free: 10.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.3211, allocations: 81.09 kB / 0.5579 GB, free: 10.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.3212, allocations: 93.86 kB / 0.558 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3212, allocations: 29.7 kB / 0.558 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.3213, allocations: 80.52 kB / 0.5581 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.3213, allocations: 12.12 kB / 0.5581 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.3213, allocations: 0 / 0.5581 GB, free: 10.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3215, allocations: 314.8 kB / 0.5584 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.3215, allocations: 0 / 0.5584 GB, free: 9.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.3216, allocations: 21.66 kB / 0.5584 GB, free: 9.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.3216, allocations: 7.984 kB / 0.5585 GB, free: 9.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3216, allocations: 4 kB / 0.5585 GB, free: 9.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.467e-05/0.3217, allocations: 41.64 kB / 0.5585 GB, free: 9.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3217, allocations: 4 kB / 0.5585 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3218, allocations: 3.953 kB / 0.5585 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3218, allocations: 8 kB / 0.5585 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3219, allocations: 4 kB / 0.5585 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3219, allocations: 3.984 kB / 0.5585 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.322, allocations: 0 / 0.5585 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.322, allocations: 7.984 kB / 0.5585 GB, free: 9.586 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.3221, allocations: 113.9 kB / 0.5586 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.3221, allocations: 7.844 kB / 0.5586 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.3223, allocations: 44.81 kB / 0.5587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3223, allocations: 7.938 kB / 0.5587 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.3223, allocations: 0 / 0.5587 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3223, allocations: 7.938 kB / 0.5587 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3225, allocations: 145.7 kB / 0.5588 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3225, allocations: 0 / 0.5588 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.3225, allocations: 8.062 kB / 0.5588 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3225, allocations: 0 / 0.5588 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3226, allocations: 4 kB / 0.5589 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3226, allocations: 0 / 0.5589 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3226, allocations: 3.953 kB / 0.5589 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.3227, allocations: 83.7 kB / 0.5589 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.3228, allocations: 81.11 kB / 0.559 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3228, allocations: 0 / 0.559 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.3229, allocations: 3.953 kB / 0.559 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3229, allocations: 3.938 kB / 0.559 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3229, allocations: 7.984 kB / 0.559 GB, free: 8.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.323, allocations: 75.28 kB / 0.5591 GB, free: 8.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.323, allocations: 0 / 0.5591 GB, free: 8.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.3233, allocations: 0 / 0.5591 GB, free: 8.883 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004685/0.3237, allocations: 0.6845 MB / 0.5598 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.3239, allocations: 11.94 kB / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3239, allocations: 4.156 kB / 0.5598 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.3239, allocations: 8 kB / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.324, allocations: 3.719 kB / 0.5598 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.3245, allocations: 135.1 kB / 0.5599 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3248, allocations: 0.6809 MB / 0.5606 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3249, allocations: 128 / 0.5606 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3249, allocations: 15.44 kB / 0.5606 GB, free: 7.238 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3249, allocations: 0 / 0.5606 GB, free: 7.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06812/0.3931, allocations: 0.7153 MB / 0.5613 GB, free: 6.648 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.3934, allocations: 166.3 kB / 0.5615 GB, free: 6.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/3.531, allocations: 0 / 0.5615 GB, free: 6.414 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: