Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.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: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 288.3 MB / 303.2 MB, free: 8.078 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.001239/0.001239, allocations: 181.8 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.544/1.544, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0009208/0.0009204, allocations: 105.5 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004178, allocations: 15.02 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2311, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7443/0.9754, allocations: 139.8 MB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.9757, allocations: 83.2 kB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008701/0.9844, allocations: 2.988 MB / 1.119 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9845, allocations: 4 kB / 1.119 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.9845, allocations: 0 / 1.119 GB, free: 31.94 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006873/0.9852, allocations: 0.5333 MB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9852, allocations: 11.67 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.9853, allocations: 18.55 kB / 1.119 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.9855, allocations: 218.1 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.9856, allocations: 15.19 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.9856, allocations: 11.66 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.9859, allocations: 135.2 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9859, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9859, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.9859, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.9862, allocations: 89.33 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.9868, allocations: 483.2 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.987, allocations: 80.17 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.987, allocations: 6.891 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.9873, allocations: 149.4 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.9873, allocations: 3.844 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0005275/0.9879, allocations: 211.9 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.9879, allocations: 87.95 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.988, allocations: 144.4 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.9881, allocations: 29.55 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.9881, allocations: 113.1 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.9882, allocations: 30.23 kB / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.9882, allocations: 0 / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9883, allocations: 324.8 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.9884, allocations: 43.7 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.9886, allocations: 125.1 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.9887, allocations: 57.53 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9887, allocations: 0 / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003177/0.9891, allocations: 181 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9891, allocations: 7.688 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9891, allocations: 0 / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9891, allocations: 4.125 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.9892, allocations: 28.3 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.9893, allocations: 4.047 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.9894, allocations: 28.03 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.9894, allocations: 3.844 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001065/0.9895, allocations: 132.7 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.9895, allocations: 19.66 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.9896, allocations: 15.61 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.9896, allocations: 0 / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9896, allocations: 7.75 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9896, allocations: 0 / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.9902, allocations: 0.5537 MB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9902, allocations: 0 / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.9903, allocations: 22.5 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9903, allocations: 0 / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.9904, allocations: 7.125 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9904, allocations: 7.953 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9904, allocations: 0 / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.9907, allocations: 339.4 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.9908, allocations: 92.3 kB / 1.123 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.9908, allocations: 11.77 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.991, allocations: 21.2 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.9911, allocations: 18.92 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.9911, allocations: 11.33 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.9912, allocations: 118.3 kB / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9912, allocations: 0 / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003323/0.9915, allocations: 53.44 kB / 1.123 GB, free: 28.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003944/0.9919, allocations: 206 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.9923, allocations: 117 kB / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9923, allocations: 0 / 1.124 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.9924, allocations: 64.52 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.9927, allocations: 18.66 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.9931, allocations: 266.5 kB / 1.124 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.9934, allocations: 0.7161 MB / 1.125 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.442e-05/0.9935, allocations: 33.91 kB / 1.125 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.9935, allocations: 15.22 kB / 1.125 GB, free: 27.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.9935, allocations: 3.938 kB / 1.125 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Templates: time 0.004141/0.9977, allocations: 1.609 MB / 1.126 GB, free: 27.64 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)