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.007702/0.007702, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001746/0.001746, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.37/1.37, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.568/1.568, allocations: 251.7 MB / 0.5094 GB, free: 3.07 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.001526/0.001526, allocations: 68.45 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2855, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001805/0.2874, allocations: 0.5361 MB / 0.8285 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.2876, allocations: 46.59 kB / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.2877, allocations: 0 / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.2877, allocations: 0 / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.2879, allocations: 0 / 0.8286 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.795e-05/0.288, allocations: 11.94 kB / 0.8286 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.288, allocations: 11.97 kB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.2881, allocations: 4 kB / 0.8286 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.2882, allocations: 4 kB / 0.8286 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.2883, allocations: 11.92 kB / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2883, allocations: 0 / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.2883, allocations: 0 / 0.8286 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.2884, allocations: 8 kB / 0.8286 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.2884, allocations: 3.938 kB / 0.8286 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.521e-05/0.2885, allocations: 11.97 kB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2885, allocations: 0 / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2885, allocations: 3.938 kB / 0.8287 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2885, allocations: 0 / 0.8287 GB, free: 15.56 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.0005084/0.289, allocations: 339.4 kB / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2891, allocations: 12.02 kB / 0.829 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.2891, allocations: 4.875 kB / 0.829 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2893, allocations: 172.3 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2893, allocations: 384 / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.2894, allocations: 384 / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2895, allocations: 38.25 kB / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2895, allocations: 192 / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2895, allocations: 7.938 kB / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2895, allocations: 0 / 0.8292 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.2895, allocations: 4 kB / 0.8292 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.2897, allocations: 149.7 kB / 0.8294 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.2898, allocations: 30.5 kB / 0.8294 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.2898, allocations: 9.141 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2898, allocations: 0 / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2899, allocations: 38.62 kB / 0.8294 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2899, allocations: 0 / 0.8294 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.29, allocations: 41.62 kB / 0.8295 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2901, allocations: 55.34 kB / 0.8295 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.2902, allocations: 109.8 kB / 0.8296 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2902, allocations: 25.7 kB / 0.8296 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.2903, allocations: 88.12 kB / 0.8297 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.2903, allocations: 3.906 kB / 0.8297 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.2903, allocations: 17.84 kB / 0.8298 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2905, allocations: 314.8 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.2905, allocations: 7.984 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.2905, allocations: 17.72 kB / 0.8301 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.2906, allocations: 25.95 kB / 0.8301 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2906, allocations: 4.062 kB / 0.8301 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.28e-05/0.2907, allocations: 53.61 kB / 0.8302 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2907, allocations: 4 kB / 0.8302 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2907, allocations: 3.938 kB / 0.8302 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2907, allocations: 4 kB / 0.8302 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.2908, allocations: 4 kB / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2908, allocations: 0 / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.2908, allocations: 0 / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2909, allocations: 0 / 0.8302 GB, free: 13.77 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 8.204e-05/0.2909, allocations: 121.9 kB / 0.8303 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.291, allocations: 3.938 kB / 0.8303 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.2911, allocations: 52.75 kB / 0.8303 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2911, allocations: 3.938 kB / 0.8303 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2911, allocations: 0 / 0.8303 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2911, allocations: 0 / 0.8303 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2912, allocations: 153.6 kB / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.768e-05/0.2913, allocations: 4 kB / 0.8305 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.2914, allocations: 0 / 0.8305 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2914, allocations: 4.031 kB / 0.8305 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2914, allocations: 15.92 kB / 0.8305 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2914, allocations: 3.938 kB / 0.8305 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2914, allocations: 0 / 0.8305 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2915, allocations: 73.06 kB / 0.8306 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2916, allocations: 81.14 kB / 0.8307 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2916, allocations: 7.922 kB / 0.8307 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.2916, allocations: 96 / 0.8307 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.2917, allocations: 4 kB / 0.8307 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2917, allocations: 0 / 0.8307 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.2917, allocations: 91.27 kB / 0.8308 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2917, allocations: 0 / 0.8308 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001889/0.2919, allocations: 4 kB / 0.8308 GB, free: 13.05 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.0001153/0.2921, allocations: 95.25 kB / 0.8309 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.2922, allocations: 19.92 kB / 0.8309 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2922, allocations: 4.125 kB / 0.8309 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.2922, allocations: 4 kB / 0.8309 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.2923, allocations: 4 kB / 0.8309 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.2926, allocations: 109.5 kB / 0.831 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.2932, allocations: 0.6805 MB / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.2932, allocations: 0 / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.2932, allocations: 15.42 kB / 0.8317 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2932, allocations: 0 / 0.8317 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002323/0.2956, allocations: 316.9 kB / 0.832 GB, free: 11.75 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)