Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 110.8 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006334, allocations: 20.64 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2619, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006716/0.2627, allocations: 248.6 kB / 0.9797 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.2628, allocations: 15.98 kB / 0.9797 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.2628, allocations: 0 / 0.9797 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2629, allocations: 0 / 0.9797 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.263, allocations: 7.984 kB / 0.9797 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.886e-06/0.263, allocations: 0 / 0.9797 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.166e-05/0.2631, allocations: 0 / 0.9797 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.2631, allocations: 5.656 kB / 0.9797 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.2632, allocations: 4 kB / 0.9797 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.2632, allocations: 4 kB / 0.9797 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2632, allocations: 0 / 0.9797 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.2633, allocations: 0 / 0.9797 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.2633, allocations: 3.984 kB / 0.9797 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.2633, allocations: 29.7 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.754e-05/0.2633, allocations: 0 / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2633, allocations: 0 / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2633, allocations: 3.938 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2633, allocations: 0 / 0.9798 GB, free: 27.27 MB / 0.6198 GB 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.0002108/0.2636, allocations: 316 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2636, allocations: 12.08 kB / 0.9801 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.2636, allocations: 38.55 kB / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.2637, allocations: 4 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.352e-05/0.2637, allocations: 163 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2638, allocations: 3.938 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2638, allocations: 0 / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2639, allocations: 47.41 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2639, allocations: 4 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2639, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2639, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.264, allocations: 4 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.2641, allocations: 162.5 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.2641, allocations: 33.14 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.2642, allocations: 8.125 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2642, allocations: 38.5 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.2642, allocations: 3.938 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.2643, allocations: 33.7 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.2644, allocations: 89.03 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.554e-05/0.2644, allocations: 89.86 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2644, allocations: 29.95 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.37e-05/0.2645, allocations: 80.14 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.2645, allocations: 12.12 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.2645, allocations: 0 / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.2646, allocations: 310.8 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.2646, allocations: 4 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.2646, allocations: 9.719 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.2646, allocations: 8.062 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2646, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.241e-05/0.2647, allocations: 49.58 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2647, allocations: 5.719 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2647, allocations: 4 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2647, allocations: 0 / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.2648, allocations: 4 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2649, allocations: 3.938 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.2649, allocations: 0 / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.2649, allocations: 4.062 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB 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 5.999e-05/0.265, allocations: 117.8 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.265, allocations: 7.859 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.2651, allocations: 48.75 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2651, allocations: 0 / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2651, allocations: 4 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2651, allocations: 0 / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.2652, allocations: 145.8 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2652, allocations: 0 / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.2652, allocations: 7.984 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2652, allocations: 3.953 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.2652, allocations: 4 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2652, allocations: 3.938 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2653, allocations: 0 / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.755e-05/0.2653, allocations: 79.7 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.2654, allocations: 85.06 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2654, allocations: 4 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.2654, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2654, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2654, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.697e-05/0.2655, allocations: 75.28 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2655, allocations: 0 / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002395/0.2657, allocations: 7.969 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB 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.0003133/0.266, allocations: 0.6837 MB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.4e-05/0.2661, allocations: 12.03 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2661, allocations: 0 / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.2661, allocations: 11.92 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.2662, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.2665, allocations: 119 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2667, allocations: 0.6731 MB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.2667, allocations: 4.25 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2668, allocations: 15.38 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2668, allocations: 0 / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009981/0.2767, allocations: 0.7256 MB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.2769, allocations: 193 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.823, allocations: 0 / 0.9842 GB, free: 22.32 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)