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.001133/0.001134, allocations: 104 kB / 16.27 MB, free: 5.977 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.001111/0.001111, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7271/0.7271, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.303, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001484/0.3045, allocations: 0.5177 MB / 0.5678 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.3047, allocations: 37.69 kB / 0.5678 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.3047, allocations: 1.438 kB / 0.5678 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.3048, allocations: 0 / 0.5678 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3049, allocations: 13.89 kB / 0.5678 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.764e-05/0.3049, allocations: 7.484 kB / 0.5678 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.628e-05/0.305, allocations: 9.875 kB / 0.5678 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.305, allocations: 3 kB / 0.5678 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.3051, allocations: 11.47 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.3051, allocations: 7.938 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3051, allocations: 1.031 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.3052, allocations: 0.625 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.3052, allocations: 8.406 kB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3052, allocations: 7.297 kB / 0.5679 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.632e-05/0.3053, allocations: 13.17 kB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3053, allocations: 1.094 kB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3053, allocations: 0.9688 kB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.3053, allocations: 0.5156 kB / 0.5679 GB, free: 32.36 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.0002835/0.3056, allocations: 328.5 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3056, allocations: 9.594 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.3057, allocations: 32 kB / 0.5683 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.877e-05/0.3057, allocations: 3.719 kB / 0.5683 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3058, allocations: 175.7 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.3058, allocations: 1.438 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3058, allocations: 5.656 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.739e-05/0.3059, allocations: 33.34 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.3059, allocations: 7.875 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3059, allocations: 1.688 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3059, allocations: 0 / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.3059, allocations: 4.594 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.235e-05/0.306, allocations: 159 kB / 0.5686 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/0.3061, allocations: 20.11 kB / 0.5686 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.3061, allocations: 12.16 kB / 0.5687 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3061, allocations: 3.156 kB / 0.5687 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.3061, allocations: 36.55 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3061, allocations: 0 / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001074/0.3062, allocations: 45.09 kB / 0.5687 GB, free: 31.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.3063, allocations: 51.41 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.3063, allocations: 113.8 kB / 0.5689 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.3063, allocations: 27.8 kB / 0.5689 GB, free: 31.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.3064, allocations: 90.31 kB / 0.569 GB, free: 31.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3064, allocations: 6 kB / 0.569 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.3064, allocations: 13.16 kB / 0.569 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.3064, allocations: 318.3 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.3065, allocations: 8.203 kB / 0.5693 GB, free: 30.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.3065, allocations: 15.98 kB / 0.5694 GB, free: 30.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.3065, allocations: 20.88 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3065, allocations: 1.672 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.867e-05/0.3066, allocations: 53.16 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3066, allocations: 10.92 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3066, allocations: 0 / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3066, allocations: 2.375 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.3067, allocations: 3.984 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3067, allocations: 2.094 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.3067, allocations: 1.922 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3067, allocations: 1.094 kB / 0.5694 GB, free: 30.71 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.806e-05/0.3068, allocations: 110.6 kB / 0.5696 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3068, allocations: 13.56 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.662e-05/0.3069, allocations: 54.58 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3069, allocations: 1 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3069, allocations: 1.375 kB / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3069, allocations: 0 / 0.5696 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.638e-05/0.307, allocations: 160.5 kB / 0.5698 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.307, allocations: 1.031 kB / 0.5698 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.307, allocations: 5.281 kB / 0.5698 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.307, allocations: 3.938 kB / 0.5698 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.307, allocations: 2.031 kB / 0.5698 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3071, allocations: 0 / 0.5698 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3071, allocations: 5.734 kB / 0.5698 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.3072, allocations: 82.45 kB / 0.5699 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.3072, allocations: 81.19 kB / 0.5699 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.3072, allocations: 6.562 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/0.3072, allocations: 7.5 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.3072, allocations: 2.125 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3072, allocations: 1 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.951e-05/0.3073, allocations: 89.92 kB / 0.57 GB, free: 30.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3073, allocations: 3.938 kB / 0.5701 GB, free: 30.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001689/0.3075, allocations: 2.656 kB / 0.5701 GB, free: 30.08 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.0002041/0.3077, allocations: 0.614 MB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.301e-05/0.3077, allocations: 17.03 kB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3077, allocations: 1.281 kB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.3078, allocations: 7.5 kB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.3079, allocations: 8.344 kB / 0.5707 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.3085, allocations: 1.145 MB / 0.5718 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.3086, allocations: 0.6781 MB / 0.5725 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.323e-05/0.3086, allocations: 3.25 kB / 0.5725 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3086, allocations: 9.578 kB / 0.5725 GB, free: 27.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3086, allocations: 6.812 kB / 0.5725 GB, free: 27.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.853/2.161, allocations: 1.151 MB / 0.5736 GB, free: 27.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.04/11.2, allocations: 10.89 kB / 0.5736 GB, free: 27.32 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)