Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001102/0.001102, allocations: 179.5 kB / 377.1 MB, free: 1.539 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.573/1.573, allocations: 205.4 MB / 0.6367 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 97.5 kB / 0.751 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003554, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6621/0.9371, allocations: 140.7 MB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.9374, allocations: 88.38 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007806/0.9452, allocations: 2.99 MB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9452, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.9453, allocations: 4 kB / 1.129 GB, free: 32.07 MB / 0.7292 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.0006069/0.9459, allocations: 0.5256 MB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9459, allocations: 16.77 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.946, allocations: 17.88 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.9462, allocations: 215.5 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.9462, allocations: 11.94 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.9462, allocations: 8.562 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.9465, allocations: 139.4 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9466, allocations: 0 / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.9466, allocations: 4 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9466, allocations: 4.562 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.9468, allocations: 89.05 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.9474, allocations: 471.5 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.9476, allocations: 84.88 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.9476, allocations: 9.75 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.9479, allocations: 149.2 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.9479, allocations: 0.6562 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000531/0.9484, allocations: 210.1 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9485, allocations: 88.39 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.9486, allocations: 148.7 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.9486, allocations: 33.7 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.9487, allocations: 104.6 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.9487, allocations: 39.06 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.9487, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.9488, allocations: 326.1 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.9489, allocations: 39.03 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.9491, allocations: 129.5 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.9492, allocations: 58.98 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9492, allocations: 0 / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003165/0.9496, allocations: 178 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9496, allocations: 9.438 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9496, allocations: 4 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9496, allocations: 4 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.9497, allocations: 23.7 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9497, allocations: 7.422 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.9498, allocations: 20.03 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.9499, allocations: 8.562 kB / 1.132 GB, free: 28.94 MB / 0.7292 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.0001007/0.95, allocations: 129.8 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.95, allocations: 15.81 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.9501, allocations: 20.88 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9501, allocations: 3.938 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9501, allocations: 5.484 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9501, allocations: 4.312 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.9507, allocations: 0.5454 MB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9507, allocations: 0.8906 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.9508, allocations: 16.73 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.9508, allocations: 8.188 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9508, allocations: 0 / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9509, allocations: 7.953 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9509, allocations: 7.938 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.9512, allocations: 338 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.9513, allocations: 93.42 kB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.9513, allocations: 7.953 kB / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.9515, allocations: 18.89 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.9515, allocations: 20.5 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.9516, allocations: 12.94 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.9516, allocations: 118 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9516, allocations: 3.938 kB / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000324/0.952, allocations: 47.41 kB / 1.133 GB, free: 27.55 MB / 0.7292 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.0004155/0.9524, allocations: 203.8 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.9527, allocations: 121.3 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9527, allocations: 0 / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.9529, allocations: 63.58 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.9531, allocations: 22.47 kB / 1.134 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.9536, allocations: 253.4 kB / 1.134 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.9537, allocations: 0.717 MB / 1.135 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.9538, allocations: 31.3 kB / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.9538, allocations: 15.44 kB / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.9538, allocations: 0 / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.004315/0.9582, allocations: 1.606 MB / 1.136 GB, free: 25.31 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)