Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5",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.511/2.511, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001351/0.00135, allocations: 180.5 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.088/2.088, allocations: 205.4 MB / 0.6297 GB, free: 10.49 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.0009518/0.0009512, allocations: 92.23 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 16.52 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006662/0.2071, allocations: 266.1 kB / 0.9787 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.2073, allocations: 35.92 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.2073, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2074, allocations: 3.984 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.2075, allocations: 3.938 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.382e-05/0.2076, allocations: 11.98 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.2076, allocations: 4 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.2077, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.2077, allocations: 7.984 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.2078, allocations: 11.94 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2078, allocations: 0 / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-06/0.2078, allocations: 4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.2079, allocations: 7.984 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2079, allocations: 25.7 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.418e-05/0.208, allocations: 7.984 kB / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.208, allocations: 0 / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.208, allocations: 0 / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.208, allocations: 0 / 0.9788 GB, free: 27.87 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003589/0.2084, allocations: 323.6 kB / 0.9791 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2084, allocations: 12.02 kB / 0.9791 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.2084, allocations: 38.55 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2085, allocations: 11.88 kB / 0.9792 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2086, allocations: 171 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2087, allocations: 0 / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.2087, allocations: 0 / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.2088, allocations: 37.69 kB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2088, allocations: 0 / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2088, allocations: 0 / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2088, allocations: 0 / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.2089, allocations: 4 kB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.209, allocations: 157.7 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.209, allocations: 30.5 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.2091, allocations: 4.859 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2091, allocations: 4.062 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2091, allocations: 30.56 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.2091, allocations: 0 / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.2093, allocations: 49.53 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.2093, allocations: 55.34 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.2094, allocations: 109.8 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2094, allocations: 25.7 kB / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.2095, allocations: 88.12 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2095, allocations: 0 / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.2095, allocations: 0 / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.2096, allocations: 322.8 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.2096, allocations: 128 / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.2097, allocations: 21.7 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.2097, allocations: 4 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2097, allocations: 4 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.289e-05/0.2098, allocations: 49.62 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2099, allocations: 4 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2099, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2099, allocations: 4.125 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.21, allocations: 4 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.21, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.2101, allocations: 8.234 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.2101, allocations: 4 kB / 0.9803 GB, free: 26.09 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 6.228e-05/0.2101, allocations: 119 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2102, allocations: 7.906 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2103, allocations: 48.75 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2103, allocations: 8.031 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2103, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2103, allocations: 3.984 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.705e-05/0.2104, allocations: 157.6 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2105, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.2105, allocations: 4 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2106, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2106, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2106, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2106, allocations: 3.984 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.2107, allocations: 81.11 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.2108, allocations: 84.97 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2108, allocations: 3.938 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.2108, allocations: 0 / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.2109, allocations: 8.031 kB / 0.9808 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2109, allocations: 0 / 0.9808 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.2109, allocations: 87.27 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2109, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002222/0.2112, allocations: 8.094 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB 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 (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.0003199/0.2115, allocations: 0.6085 MB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2116, allocations: 19.92 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2116, allocations: 224 / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.2117, allocations: 12 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.2119, allocations: 0 / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.2125, allocations: 375.3 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2126, allocations: 0.6849 MB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.2127, allocations: 7.984 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2127, allocations: 11.44 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2127, allocations: 0 / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.2344, allocations: 0.9757 MB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.2347, allocations: 189.7 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.54, allocations: 64 / 0.9837 GB, free: 22.46 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)