Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.136/3.136, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001575/0.001575, allocations: 182.3 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.001127/0.001127, allocations: 84.81 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 12.95 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006312/0.2047, allocations: 260.3 kB / 0.9785 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.2049, allocations: 11.98 kB / 0.9785 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.2049, allocations: 0 / 0.9785 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.2049, allocations: 0 / 0.9785 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.205, allocations: 8 kB / 0.9785 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.885e-06/0.2051, allocations: 0 / 0.9785 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.848e-05/0.2051, allocations: 0 / 0.9785 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2052, allocations: 4 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.2052, allocations: 3.938 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.2052, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2052, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.2053, allocations: 0 / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-06/0.2053, allocations: 3.984 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.2053, allocations: 25.7 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.463e-05/0.2053, allocations: 4 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2053, allocations: 4 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2054, allocations: 0 / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2054, allocations: 0 / 0.9786 GB, free: 27.93 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.0001836/0.2056, allocations: 309.1 kB / 0.9789 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2056, allocations: 16.08 kB / 0.9789 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.2057, allocations: 34.5 kB / 0.9789 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.2057, allocations: 0 / 0.9789 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.617e-05/0.2058, allocations: 163 kB / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2058, allocations: 4 kB / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2058, allocations: 11.92 kB / 0.9791 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.834e-05/0.2059, allocations: 39.42 kB / 0.9791 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2059, allocations: 0 / 0.9791 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2059, allocations: 4 kB / 0.9791 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.206, allocations: 0 / 0.9791 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.206, allocations: 0 / 0.9791 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.2061, allocations: 170.4 kB / 0.9793 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.2062, allocations: 41.28 kB / 0.9793 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2062, allocations: 0 / 0.9793 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.2063, allocations: 34.55 kB / 0.9794 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2063, allocations: 3.938 kB / 0.9794 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.2065, allocations: 41.94 kB / 0.9794 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2065, allocations: 89.11 kB / 0.9795 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2e-05/0.2065, allocations: 89.86 kB / 0.9796 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2065, allocations: 25.7 kB / 0.9796 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.44e-05/0.2066, allocations: 80.14 kB / 0.9797 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2066, allocations: 8.125 kB / 0.9797 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2066, allocations: 0 / 0.9797 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.2067, allocations: 314.8 kB / 0.98 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.2067, allocations: 0 / 0.98 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.2067, allocations: 25.7 kB / 0.98 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.2068, allocations: 0 / 0.98 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2068, allocations: 3.953 kB / 0.98 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.195e-05/0.2069, allocations: 41.64 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2069, allocations: 6.031 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2069, allocations: 0 / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2069, allocations: 0 / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.207, allocations: 12.11 kB / 0.9801 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.207, allocations: 0 / 0.9801 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.2071, allocations: 0 / 0.9801 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2071, allocations: 4 kB / 0.9801 GB, free: 26.14 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.397e-05/0.2071, allocations: 109.8 kB / 0.9802 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.2072, allocations: 11.8 kB / 0.9802 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2073, allocations: 52.75 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2073, allocations: 4.062 kB / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2073, allocations: 0 / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2073, allocations: 0 / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.2074, allocations: 153.7 kB / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2074, allocations: 0 / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2075, allocations: 7.953 kB / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2075, allocations: 0 / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2075, allocations: 0 / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2075, allocations: 0 / 0.9804 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2075, allocations: 3.938 kB / 0.9804 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.2076, allocations: 91.66 kB / 0.9805 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.2076, allocations: 77.11 kB / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2077, allocations: 0 / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.2077, allocations: 0 / 0.9806 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.2077, allocations: 7.938 kB / 0.9806 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2077, allocations: 3.984 kB / 0.9806 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.52e-05/0.2078, allocations: 79.31 kB / 0.9807 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2078, allocations: 0 / 0.9807 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002406/0.208, allocations: 0 / 0.9807 GB, free: 25.44 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.0002815/0.2083, allocations: 0.6876 MB / 0.9813 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.2084, allocations: 8 kB / 0.9813 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2084, allocations: 0 / 0.9813 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.2084, allocations: 7.938 kB / 0.9814 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.2086, allocations: 1.828 kB / 0.9814 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.2089, allocations: 121.5 kB / 0.9815 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.209, allocations: 0.677 MB / 0.9821 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.2091, allocations: 0 / 0.9821 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.2091, allocations: 11.44 kB / 0.9821 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2091, allocations: 0 / 0.9821 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2296, allocations: 0.7055 MB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.2298, allocations: 199 kB / 0.983 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.557, allocations: 0 / 0.983 GB, free: 22.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)