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.442/2.442, allocations: 284.8 MB / 297.3 MB, free: 6.352 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.001487/0.001487, allocations: 176.8 kB / 365.7 MB, free: 2.59 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.29/2.29, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 92.25 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.97e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9114, allocations: 115.2 MB / 0.97 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/1.19, allocations: 139.5 MB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.19, allocations: 83.95 kB / 1.106 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01449/1.205, allocations: 2.976 MB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/1.205, allocations: 0 / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.249e-05/1.205, allocations: 8.438 kB / 1.109 GB, free: 9.875 MB / 0.7136 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.001053/1.206, allocations: 0.5116 MB / 1.11 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.206, allocations: 12.03 kB / 1.11 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/1.206, allocations: 18.55 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/1.207, allocations: 219.8 kB / 1.11 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/1.207, allocations: 4 kB / 1.11 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.207, allocations: 15.98 kB / 1.11 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/1.207, allocations: 108.8 kB / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.207, allocations: 0 / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/1.207, allocations: 8 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.207, allocations: 0 / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/1.207, allocations: 28 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/1.208, allocations: 480.7 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/1.208, allocations: 65.2 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/1.209, allocations: 42.42 kB / 1.111 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/1.209, allocations: 4 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/1.209, allocations: 121.1 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.545e-06/1.209, allocations: 0 / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003921/1.209, allocations: 122.6 kB / 1.111 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/1.209, allocations: 85.05 kB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/1.21, allocations: 145.5 kB / 1.111 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/1.21, allocations: 29.7 kB / 1.111 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/1.21, allocations: 108.3 kB / 1.111 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/1.21, allocations: 31.69 kB / 1.111 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.21, allocations: 4 kB / 1.111 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.21, allocations: 322.8 kB / 1.112 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/1.21, allocations: 24 kB / 1.112 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.21, allocations: 96.84 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/1.21, allocations: 38.66 kB / 1.112 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.21, allocations: 0 / 1.112 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003308/1.211, allocations: 137.3 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.211, allocations: 4 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.211, allocations: 4 kB / 1.112 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.211, allocations: 4 kB / 1.112 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/1.211, allocations: 23.92 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.211, allocations: 7.953 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/1.211, allocations: 24.14 kB / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/1.211, allocations: 4 kB / 1.112 GB, free: 6.781 MB / 0.7136 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 () * 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.0001377/1.212, allocations: 121 kB / 1.112 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/1.212, allocations: 11.91 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/1.212, allocations: 21.45 kB / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.212, allocations: 0 / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.212, allocations: 0 / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.212, allocations: 3.953 kB / 1.112 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/1.213, allocations: 0.5016 MB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.213, allocations: 4 kB / 1.113 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/1.213, allocations: 19.92 kB / 1.113 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.213, allocations: 3.938 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/1.213, allocations: 11.94 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.213, allocations: 4 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.213, allocations: 0 / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/1.213, allocations: 296.5 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/1.213, allocations: 88.97 kB / 1.113 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/1.213, allocations: 8.078 kB / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/1.214, allocations: 30.22 kB / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.214, allocations: 11.97 kB / 1.113 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/1.214, allocations: 8 kB / 1.113 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001368/1.214, allocations: 124.3 kB / 1.113 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.214, allocations: 0 / 1.113 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004947/1.215, allocations: 51.89 kB / 1.113 GB, free: 5.371 MB / 0.7136 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 () * 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.0005407/1.215, allocations: 201.8 kB / 1.113 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000302/1.215, allocations: 72.25 kB / 1.113 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.215, allocations: 4.188 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/1.216, allocations: 39.92 kB / 1.114 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/1.216, allocations: 12 kB / 1.114 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/1.217, allocations: 172.9 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/1.217, allocations: 0.7238 MB / 1.114 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001292/1.217, allocations: 20.41 kB / 1.114 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/1.217, allocations: 19.42 kB / 1.114 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.217, allocations: 0 / 1.114 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.007604/1.225, allocations: 1.624 MB / 1.116 GB, free: 2.551 MB / 0.7136 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)