Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.5 MB / 302.4 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 173.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002138/0.002138, allocations: 97.73 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 11.75 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.155, allocations: 139.6 MB / 1.115 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.156, allocations: 81.61 kB / 1.115 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01683/1.172, allocations: 2.992 MB / 1.118 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.173, allocations: 3.844 kB / 1.118 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.859e-05/1.173, allocations: 0 / 1.118 GB, free: 31.26 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.001171/1.174, allocations: 0.5289 MB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.174, allocations: 15.7 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/1.174, allocations: 19.5 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/1.174, allocations: 219.9 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.174, allocations: 3.875 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/1.174, allocations: 11.19 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/1.175, allocations: 124 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.175, allocations: 7.938 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/1.175, allocations: 11.23 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.175, allocations: 0 / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/1.176, allocations: 79.52 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.177, allocations: 477.2 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/1.177, allocations: 87.47 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/1.177, allocations: 7.781 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/1.178, allocations: 151.9 kB / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 3.516e-06/1.178, allocations: 0 / 1.119 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001154/1.179, allocations: 219.8 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.179, allocations: 77.11 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/1.179, allocations: 151 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/1.179, allocations: 33.33 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/1.179, allocations: 110.6 kB / 1.12 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/1.179, allocations: 28.91 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/1.179, allocations: 3.312 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002029/1.18, allocations: 327.8 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/1.18, allocations: 43.3 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/1.18, allocations: 120.9 kB / 1.12 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/1.181, allocations: 62.48 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.181, allocations: 0 / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007921/1.182, allocations: 179.9 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.182, allocations: 9.875 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.182, allocations: 0 / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.182, allocations: 3.875 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/1.182, allocations: 25.23 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.182, allocations: 11.86 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.182, allocations: 21.41 kB / 1.121 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.182, allocations: 3.844 kB / 1.121 GB, free: 29.12 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.0001999/1.182, allocations: 134.2 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/1.182, allocations: 18.28 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/1.183, allocations: 15.16 kB / 1.121 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.183, allocations: 14.84 kB / 1.121 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.183, allocations: 0 / 1.121 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.183, allocations: 3.953 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.184, allocations: 0.5435 MB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.184, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.184, allocations: 17.55 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.184, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/1.184, allocations: 11.11 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/1.184, allocations: 480 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.184, allocations: 288 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/1.185, allocations: 349.5 kB / 1.122 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/1.185, allocations: 99.55 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/1.185, allocations: 6.516 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/1.186, allocations: 21.19 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/1.186, allocations: 9.969 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/1.186, allocations: 10.7 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001661/1.186, allocations: 125 kB / 1.122 GB, free: 28.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.2e-07/1.186, allocations: 3.938 kB / 1.122 GB, free: 28.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007573/1.187, allocations: 52.12 kB / 1.122 GB, free: 28.16 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.0006444/1.188, allocations: 195.7 kB / 1.122 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007084/1.188, allocations: 121.4 kB / 1.122 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.188, allocations: 0 / 1.122 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/1.189, allocations: 62.14 kB / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/1.189, allocations: 15.86 kB / 1.123 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/1.19, allocations: 268.3 kB / 1.123 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/1.19, allocations: 0.7176 MB / 1.123 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001299/1.19, allocations: 27.5 kB / 1.124 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/1.191, allocations: 18.31 kB / 1.124 GB, free: 27.12 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/1.191, allocations: 4 kB / 1.124 GB, free: 27.12 MB / 0.698 GB Notification: Performance of Templates: time 0.007989/1.199, allocations: 1.615 MB / 1.125 GB, free: 26.96 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)