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.001256/0.001256, allocations: 99.34 kB / 16.27 MB, free: 5.93 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.001221/0.001222, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.229/1.229, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7041/0.7041, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2811, allocations: 77.93 MB / 0.5673 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001577/0.2828, allocations: 0.5182 MB / 0.5678 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.2829, allocations: 40.45 kB / 0.5678 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.283, allocations: 4.969 kB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.283, allocations: 0 / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2831, allocations: 1.969 kB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.012e-05/0.2832, allocations: 7.438 kB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.2832, allocations: 14.03 kB / 0.5679 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.2833, allocations: 8.25 kB / 0.5679 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.2833, allocations: 8.016 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.2834, allocations: 6.922 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2834, allocations: 0.5625 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.2834, allocations: 1.188 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.2835, allocations: 8.531 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.2835, allocations: 8.125 kB / 0.5679 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.853e-05/0.2835, allocations: 13.84 kB / 0.5679 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2835, allocations: 5.031 kB / 0.5679 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2836, allocations: 0 / 0.5679 GB, free: 32.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2836, allocations: 0 / 0.5679 GB, free: 32.64 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.0002787/0.2838, allocations: 331.1 kB / 0.5682 GB, free: 32.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2839, allocations: 10.38 kB / 0.5682 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.013e-05/0.2839, allocations: 32.47 kB / 0.5683 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.2839, allocations: 2.422 kB / 0.5683 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2841, allocations: 177.1 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-06/0.2841, allocations: 1.531 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2841, allocations: 2.031 kB / 0.5684 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.948e-05/0.2842, allocations: 36.98 kB / 0.5685 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.2842, allocations: 3.938 kB / 0.5685 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.2842, allocations: 1.609 kB / 0.5685 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2842, allocations: 0 / 0.5685 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.2842, allocations: 10.33 kB / 0.5685 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.2843, allocations: 153.2 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.674e-05/0.2843, allocations: 18.72 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.2844, allocations: 9.125 kB / 0.5687 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2844, allocations: 3.984 kB / 0.5687 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-06/0.2844, allocations: 31.72 kB / 0.5687 GB, free: 31.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2844, allocations: 0 / 0.5687 GB, free: 31.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.2845, allocations: 48.77 kB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.2845, allocations: 53.08 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.2846, allocations: 113.2 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.2846, allocations: 26.86 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.2846, allocations: 82.91 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2847, allocations: 8.438 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.2847, allocations: 19.48 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.2847, allocations: 313.8 kB / 0.5693 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.2847, allocations: 3.094 kB / 0.5693 GB, free: 31.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.2848, allocations: 15.97 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.2848, allocations: 31.33 kB / 0.5694 GB, free: 31.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2848, allocations: 0.875 kB / 0.5694 GB, free: 31.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.962e-05/0.2849, allocations: 40.52 kB / 0.5694 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2849, allocations: 9.953 kB / 0.5694 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2849, allocations: 1.156 kB / 0.5694 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2849, allocations: 2.031 kB / 0.5694 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.285, allocations: 7.656 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.285, allocations: 6.344 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.285, allocations: 1.781 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.285, allocations: 1.125 kB / 0.5695 GB, free: 31 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 3.943e-05/0.2851, allocations: 110.7 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.2851, allocations: 10.06 kB / 0.5696 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.2852, allocations: 49.91 kB / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2852, allocations: 2.375 kB / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2852, allocations: 4.688 kB / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2852, allocations: 1.188 kB / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.998e-05/0.2853, allocations: 158.8 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2853, allocations: 0.5 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.2853, allocations: 9.672 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2853, allocations: 3.938 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2853, allocations: 2.016 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2853, allocations: 3.938 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2854, allocations: 2.656 kB / 0.5698 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.2855, allocations: 74.14 kB / 0.5699 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.2855, allocations: 81.58 kB / 0.5699 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2855, allocations: 4.594 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.2855, allocations: 2.219 kB / 0.57 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.2855, allocations: 2.141 kB / 0.57 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2856, allocations: 9.953 kB / 0.57 GB, free: 30.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.2856, allocations: 85.25 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2856, allocations: 0.5 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.2858, allocations: 11.38 kB / 0.5701 GB, free: 30.38 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.0002086/0.286, allocations: 0.6151 MB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.2861, allocations: 21.62 kB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2861, allocations: 0.7812 kB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2861, allocations: 9.891 kB / 0.5707 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.2863, allocations: 2.812 kB / 0.5707 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.2869, allocations: 1.145 MB / 0.5718 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.211e-05/0.287, allocations: 0.6816 MB / 0.5725 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.287, allocations: 2.25 kB / 0.5725 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.287, allocations: 13.41 kB / 0.5725 GB, free: 27.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.287, allocations: 1.062 kB / 0.5725 GB, free: 27.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.3022, allocations: 1.151 MB / 0.5736 GB, free: 27.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.086, allocations: 13.58 kB / 0.5736 GB, free: 27.6 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)