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.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001023/0.001023, allocations: 169 kB / 361.4 MB, free: 6.848 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.663/1.663, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008398/0.0008399, allocations: 98.61 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.573e-05, allocations: 0 / 0.8517 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7521, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.9682, allocations: 139 MB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.9687, allocations: 79.95 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009645/0.9784, allocations: 2.961 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9784, allocations: 0.7812 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.9784, allocations: 8.656 kB / 1.103 GB, free: 13.78 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.0007732/0.9792, allocations: 0.5087 MB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.9793, allocations: 12.03 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.9794, allocations: 20.83 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.9797, allocations: 215.4 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.9797, allocations: 0 / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.9797, allocations: 12 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.9799, allocations: 28 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.9801, allocations: 98.22 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9801, allocations: 2.438 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.9801, allocations: 7.984 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9801, allocations: 0 / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.9809, allocations: 449.2 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.981, allocations: 69.14 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.9811, allocations: 33.83 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.9811, allocations: 4 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.9813, allocations: 113.1 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 3.567e-06/0.9814, allocations: 4.047 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002937/0.9817, allocations: 113.4 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.9817, allocations: 83.95 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.9819, allocations: 138.3 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.9819, allocations: 29.69 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.982, allocations: 112.3 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.982, allocations: 23.7 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.982, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9822, allocations: 326.8 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.9822, allocations: 24 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.9823, allocations: 90.3 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.9824, allocations: 35.92 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9824, allocations: 0 / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002072/0.9826, allocations: 117.6 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.9826, allocations: 9.562 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.9827, allocations: 3.125 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9827, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.9828, allocations: 23.92 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9828, allocations: 3.984 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.9829, allocations: 15.94 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.983, allocations: 8.031 kB / 1.106 GB, free: 10.81 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 9.829e-05/0.9831, allocations: 124.9 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.9831, allocations: 11.91 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.9832, allocations: 17.83 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9832, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9832, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9832, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.9837, allocations: 479.7 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9837, allocations: 4 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.9838, allocations: 18.05 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.9839, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.9839, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.9839, allocations: 4 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9839, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.9842, allocations: 304.2 kB / 1.107 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.9843, allocations: 85.02 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.9843, allocations: 0 / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.9845, allocations: 24.11 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.9846, allocations: 19.92 kB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.9847, allocations: 12 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.9847, allocations: 113.3 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9848, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003948/0.9852, allocations: 58.59 kB / 1.107 GB, free: 9.469 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.0004907/0.9857, allocations: 194.3 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.9859, allocations: 64.17 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9859, allocations: 4.25 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.986, allocations: 35.94 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.9862, allocations: 22.78 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.9867, allocations: 152.8 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.9871, allocations: 0.7243 MB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.076e-05/0.9872, allocations: 20.53 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.9873, allocations: 15.44 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/0.9873, allocations: 3.938 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.005127/0.9924, allocations: 1.536 MB / 1.11 GB, free: 6.754 MB / 0.7136 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)