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 2.443/2.443, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001326/0.001326, allocations: 178.1 kB / 371 MB, free: 10.85 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.034/2.034, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009407/0.0009404, allocations: 89.28 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 11.31 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006481/0.2048, allocations: 254.1 kB / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.205, allocations: 15.98 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.205, allocations: 0 / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.205, allocations: 0 / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2052, allocations: 11.92 kB / 0.9787 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.2052, allocations: 3.938 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.2052, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.2053, allocations: 4 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.2053, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.2053, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2054, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-06/0.2054, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.2054, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.2054, allocations: 25.7 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.725e-05/0.2054, allocations: 4 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2055, allocations: 3.938 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2055, allocations: 4 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.2055, allocations: 0 / 0.9788 GB, free: 27.92 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.0001909/0.2057, allocations: 311.4 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2057, allocations: 16.08 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.2058, allocations: 34.56 kB / 0.9791 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.2058, allocations: 0 / 0.9791 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.628e-05/0.2059, allocations: 163 kB / 0.9793 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2059, allocations: 0 / 0.9793 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2059, allocations: 4 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.206, allocations: 43.41 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.206, allocations: 4 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2061, allocations: 3.938 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2061, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.2061, allocations: 7.938 kB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.2062, allocations: 158.5 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.2063, allocations: 45.22 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.2063, allocations: 9.719 kB / 0.9795 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2064, allocations: 4.062 kB / 0.9795 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2064, allocations: 30.56 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2064, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.2065, allocations: 49.62 kB / 0.9796 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2066, allocations: 77.11 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.945e-05/0.2066, allocations: 93.86 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2066, allocations: 25.7 kB / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.2066, allocations: 80.14 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.2067, allocations: 16.11 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.2067, allocations: 0 / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.2068, allocations: 314.8 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.2068, allocations: 8.25 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.2068, allocations: 13.7 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.2068, allocations: 11.89 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2069, allocations: 3.938 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.013e-05/0.2069, allocations: 37.7 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.207, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.207, allocations: 4.125 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.207, allocations: 4 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.2071, allocations: 11.92 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2071, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.2071, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.2071, allocations: 0 / 0.9803 GB, free: 26.1 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.416e-05/0.2072, allocations: 115.1 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.2072, allocations: 3.906 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2073, allocations: 52.75 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2074, allocations: 0 / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2074, allocations: 4 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2074, allocations: 0 / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.2075, allocations: 149.7 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2075, allocations: 11.89 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.2075, allocations: 4 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2075, allocations: 0 / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2075, allocations: 4 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2076, allocations: 0 / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2076, allocations: 4.062 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.587e-05/0.2077, allocations: 69.92 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.2077, allocations: 85.06 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2077, allocations: 0 / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.2077, allocations: 0 / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.2078, allocations: 3.984 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2078, allocations: 12.02 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.439e-05/0.2078, allocations: 75.28 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2078, allocations: 0 / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002367/0.2081, allocations: 4 kB / 0.9809 GB, free: 25.41 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.0002981/0.2084, allocations: 0.6055 MB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.2085, allocations: 4 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2085, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.2085, allocations: 8 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.2087, allocations: 6.812 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.209, allocations: 117.5 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2091, allocations: 0.6731 MB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.2091, allocations: 4 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.2092, allocations: 11.38 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2092, allocations: 0 / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2262, allocations: 0.7258 MB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.2265, allocations: 195.7 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.538, allocations: 4.688 kB / 0.9831 GB, free: 23.02 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)