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.646/2.646, allocations: 285 MB / 292.5 MB, free: 10.52 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.001471/0.00147, allocations: 172.9 kB / 360.7 MB, free: 7.262 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.153/2.153, allocations: 205.2 MB / 0.6192 GB, free: 12.11 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.00107/0.00107, allocations: 95.28 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.556e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9891, allocations: 115.2 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/1.225, allocations: 138.9 MB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.226, allocations: 83.94 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/1.24, allocations: 2.961 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.24, allocations: 0.6875 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.457e-05/1.24, allocations: 8.438 kB / 1.102 GB, free: 14.6 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.0009807/1.241, allocations: 0.5005 MB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.241, allocations: 12.02 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/1.241, allocations: 21.02 kB / 1.103 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/1.241, allocations: 230.8 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.241, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/1.242, allocations: 9.078 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001531/1.242, allocations: 27.98 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/1.242, allocations: 100.9 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.242, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/1.242, allocations: 3.938 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.242, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/1.243, allocations: 448.3 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/1.243, allocations: 65.7 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/1.243, allocations: 33.83 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/1.243, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/1.243, allocations: 125 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/1.244, allocations: 0 / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003608/1.244, allocations: 111.6 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.244, allocations: 85 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/1.244, allocations: 134.3 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/1.244, allocations: 29.7 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/1.244, allocations: 116.3 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/1.244, allocations: 19.72 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/1.244, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.244, allocations: 326.8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/1.245, allocations: 19.98 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/1.245, allocations: 90.31 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/1.245, allocations: 31.92 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.245, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002832/1.245, allocations: 117.4 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.245, allocations: 8 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.245, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.245, allocations: 4 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/1.245, allocations: 28.19 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.245, allocations: 6.531 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.246, allocations: 19.89 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/1.246, allocations: 7.984 kB / 1.105 GB, free: 11.63 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.0001283/1.246, allocations: 120.7 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/1.246, allocations: 11.91 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/1.246, allocations: 17.83 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.246, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.246, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.246, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/1.247, allocations: 478.1 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.247, allocations: 1.625 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/1.247, allocations: 15.98 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.247, allocations: 8 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/1.247, allocations: 4 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.247, allocations: 3.984 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.247, allocations: 7.953 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/1.247, allocations: 291.3 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/1.247, allocations: 85.02 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/1.247, allocations: 4 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/1.248, allocations: 32.58 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/1.248, allocations: 7.984 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/1.248, allocations: 8.141 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001098/1.248, allocations: 116.8 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.248, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000548/1.249, allocations: 51.89 kB / 1.106 GB, free: 10.3 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.0005366/1.249, allocations: 201.2 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002766/1.249, allocations: 71.86 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.249, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/1.25, allocations: 35.94 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/1.25, allocations: 13.3 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/1.25, allocations: 162.2 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/1.251, allocations: 0.7119 MB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.251, allocations: 28.47 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/1.251, allocations: 16.56 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.251, allocations: 0 / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of Templates: time 0.007082/1.258, allocations: 1.536 MB / 1.109 GB, free: 7.582 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)