Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001006/0.001006, 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.511/1.511, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.001194/0.001194, allocations: 102.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004071, allocations: 15.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2323, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006809/0.233, allocations: 260.6 kB / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.2332, allocations: 41.61 kB / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2332, allocations: 0 / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2333, allocations: 0 / 0.9798 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2334, allocations: 4 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.498e-05/0.2335, allocations: 7.875 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.2335, allocations: 15.92 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.2336, allocations: 7.984 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.2336, allocations: 4 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.2337, allocations: 4 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2337, allocations: 0 / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.2338, allocations: 0 / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.2338, allocations: 7.984 kB / 0.9798 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.2338, allocations: 33.64 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.235e-05/0.2339, allocations: 3.984 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2339, allocations: 4 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2339, allocations: 0 / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2339, allocations: 0 / 0.9798 GB, free: 27.22 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.0003592/0.2342, allocations: 332.6 kB / 0.9802 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2343, allocations: 12.02 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.283e-05/0.2343, allocations: 30.56 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.2344, allocations: 4 kB / 0.9802 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2345, allocations: 175 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.2345, allocations: 0 / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2346, allocations: 3.984 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.238e-05/0.2346, allocations: 29.7 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2347, allocations: 4 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.2347, allocations: 0 / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2347, allocations: 0 / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.2347, allocations: 11.92 kB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.2348, allocations: 157.7 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.2349, allocations: 22.56 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2349, allocations: 0 / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.2349, allocations: 34.56 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.2349, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.2351, allocations: 45.59 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2351, allocations: 59.41 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.2351, allocations: 105.8 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.2352, allocations: 25.7 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.2352, allocations: 84.08 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2352, allocations: 7.984 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.2352, allocations: 0 / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.2353, allocations: 319 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.2353, allocations: 4 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.2353, allocations: 17.7 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.62e-05/0.2353, allocations: 4 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2354, allocations: 0 / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.023e-05/0.2354, allocations: 53.58 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2354, allocations: 12.06 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2354, allocations: 0 / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2355, allocations: 0 / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.2355, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2355, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.2356, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2356, allocations: 3.984 kB / 0.9813 GB, free: 25.46 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.473e-05/0.2356, allocations: 113.8 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2357, allocations: 7.859 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.2358, allocations: 52.81 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2358, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.2358, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2358, allocations: 0 / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.316e-05/0.2359, allocations: 153.7 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2359, allocations: 256 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.2359, allocations: 7.984 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2359, allocations: 7.953 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.236, allocations: 0 / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.236, allocations: 0 / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.236, allocations: 8.031 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.791e-05/0.2361, allocations: 81.05 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.2361, allocations: 81.02 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.2361, allocations: 3.953 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.2362, allocations: 4.031 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.2362, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2362, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.2362, allocations: 95.36 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2362, allocations: 3.938 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001958/0.2364, allocations: 0 / 0.9819 GB, free: 24.75 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.0002392/0.2367, allocations: 0.6125 MB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.743e-05/0.2367, allocations: 16.08 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2368, allocations: 0 / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.2368, allocations: 4 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.898e-05/0.2369, allocations: 3.953 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.2373, allocations: 0.5178 MB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2375, allocations: 0.6809 MB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.2375, allocations: 3.984 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.2375, allocations: 15.38 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2375, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.249, allocations: 0.9811 MB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.2492, allocations: 184.9 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.785, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)