Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00784/0.00784, allocations: 100.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 186.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 222.6 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 251.7 MB / 0.5094 GB, free: 3.102 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.91 kB / 0.7258 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2135, allocations: 104.7 MB / 0.828 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001599/0.2151, allocations: 0.5282 MB / 0.8285 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.2153, allocations: 46.59 kB / 0.8286 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2154, allocations: 0 / 0.8286 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.2154, allocations: 4 kB / 0.8286 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.2156, allocations: 7.938 kB / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-05/0.2156, allocations: 0 / 0.8286 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.2157, allocations: 11.98 kB / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.2158, allocations: 11.92 kB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.2158, allocations: 0 / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.2159, allocations: 4 kB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2159, allocations: 4 kB / 0.8286 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.2159, allocations: 3.938 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.216, allocations: 3.984 kB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.216, allocations: 8 kB / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.2161, allocations: 19.91 kB / 0.8287 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2161, allocations: 0 / 0.8287 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2161, allocations: 0 / 0.8287 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2161, allocations: 0 / 0.8287 GB, free: 15.61 MB / 0.6544 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.0004359/0.2166, allocations: 327.4 kB / 0.829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2166, allocations: 12.03 kB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2166, allocations: 4.938 kB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2168, allocations: 172.3 kB / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2169, allocations: 4.375 kB / 0.8292 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2169, allocations: 4.375 kB / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.217, allocations: 34.25 kB / 0.8292 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.217, allocations: 4.125 kB / 0.8292 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.217, allocations: 3.938 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.217, allocations: 0 / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.217, allocations: 4 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.2172, allocations: 153.7 kB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.2172, allocations: 18.61 kB / 0.8294 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.2173, allocations: 17.25 kB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2173, allocations: 4 kB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2173, allocations: 30.56 kB / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 2.384e-06/0.2173, allocations: 0 / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.2175, allocations: 53.5 kB / 0.8295 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2175, allocations: 51.41 kB / 0.8295 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.2176, allocations: 106 kB / 0.8296 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2176, allocations: 33.7 kB / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.2177, allocations: 88.08 kB / 0.8297 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2177, allocations: 3.906 kB / 0.8297 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.2177, allocations: 17.7 kB / 0.8298 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2179, allocations: 314.8 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.2179, allocations: 4 kB / 0.8301 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.2179, allocations: 21.7 kB / 0.8301 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.218, allocations: 21.72 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.218, allocations: 4 kB / 0.8301 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.213e-05/0.218, allocations: 49.62 kB / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2181, allocations: 4 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.2181, allocations: 3.938 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2181, allocations: 0 / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.2182, allocations: 7.984 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2182, allocations: 4.062 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.2182, allocations: 4 kB / 0.8302 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2182, allocations: 0 / 0.8302 GB, free: 13.82 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.2183, allocations: 109.8 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.2183, allocations: 0 / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.2184, allocations: 52.73 kB / 0.8303 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2184, allocations: 7.938 kB / 0.8303 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2184, allocations: 0 / 0.8303 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2184, allocations: 8.016 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2186, allocations: 157.6 kB / 0.8305 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2186, allocations: 0 / 0.8305 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.2186, allocations: 4 kB / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2186, allocations: 0 / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2186, allocations: 3.938 kB / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2186, allocations: 0 / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2187, allocations: 0 / 0.8305 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2188, allocations: 85.11 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.2188, allocations: 77.36 kB / 0.8307 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2189, allocations: 7.875 kB / 0.8307 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.2189, allocations: 8.031 kB / 0.8307 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.2189, allocations: 0 / 0.8307 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2189, allocations: 3.984 kB / 0.8307 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.219, allocations: 91.22 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.219, allocations: 0 / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001875/0.2192, allocations: 0 / 0.8308 GB, free: 13.11 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001054/0.2193, allocations: 99.34 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.2194, allocations: 15.98 kB / 0.8309 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2194, allocations: 0 / 0.8309 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.2194, allocations: 11.98 kB / 0.8309 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2196, allocations: 9.156 kB / 0.8309 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.2198, allocations: 113.5 kB / 0.831 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2201, allocations: 0.6846 MB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.2201, allocations: 4 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.2202, allocations: 7.438 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2202, allocations: 0 / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.002254/0.2224, allocations: 324.1 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)