Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.844/1.844, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008067, allocations: 94.08 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 15.98 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5585, allocations: 120.3 MB / 1.026 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.725, allocations: 143 MB / 1.166 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.7253, allocations: 79.95 kB / 1.166 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008769/0.7341, allocations: 3.047 MB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7341, allocations: 0 / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.7341, allocations: 8 kB / 1.169 GB, free: 12.16 MB / 0.7448 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.0006405/0.7348, allocations: 0.5314 MB / 1.169 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7348, allocations: 12.03 kB / 1.17 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.7349, allocations: 16.75 kB / 1.17 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.7351, allocations: 216.1 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.7351, allocations: 12.31 kB / 1.17 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.7351, allocations: 8.375 kB / 1.17 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.7354, allocations: 135.8 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.7354, allocations: 192 / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.7355, allocations: 7.938 kB / 1.17 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7355, allocations: 0 / 1.17 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.7357, allocations: 94.2 kB / 1.17 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.7363, allocations: 468.8 kB / 1.17 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.7365, allocations: 97.11 kB / 1.171 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.7366, allocations: 49.81 kB / 1.171 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.7367, allocations: 4 kB / 1.171 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.7369, allocations: 149.8 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.7369, allocations: 0 / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0005446/0.7375, allocations: 213.3 kB / 1.171 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.7375, allocations: 89.11 kB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.7377, allocations: 151.4 kB / 1.171 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.7377, allocations: 33.7 kB / 1.171 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.7378, allocations: 116.2 kB / 1.171 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.7378, allocations: 27.69 kB / 1.171 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.7378, allocations: 0 / 1.171 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.7379, allocations: 334.7 kB / 1.172 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.738, allocations: 45 kB / 1.172 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7382, allocations: 128.4 kB / 1.172 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.7385, allocations: 163.5 kB / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7385, allocations: 4 kB / 1.172 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003346/0.7389, allocations: 177.4 kB / 1.172 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7389, allocations: 4 kB / 1.172 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7389, allocations: 4 kB / 1.172 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7389, allocations: 0 / 1.172 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.739, allocations: 31.91 kB / 1.172 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.739, allocations: 7.984 kB / 1.172 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.7391, allocations: 20.11 kB / 1.172 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7392, allocations: 8 kB / 1.172 GB, free: 8.527 MB / 0.7448 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 9.587e-05/0.7393, allocations: 137 kB / 1.172 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.7393, allocations: 15.81 kB / 1.172 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.7393, allocations: 17.39 kB / 1.172 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7393, allocations: 0 / 1.172 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.7393, allocations: 0 / 1.172 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.7394, allocations: 4 kB / 1.172 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.74, allocations: 0.5561 MB / 1.173 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.74, allocations: 0 / 1.173 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.7401, allocations: 15.98 kB / 1.173 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7401, allocations: 0 / 1.173 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7401, allocations: 7.938 kB / 1.173 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.7401, allocations: 4.453 kB / 1.173 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7401, allocations: 0 / 1.173 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.7405, allocations: 339.8 kB / 1.173 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.7406, allocations: 92.86 kB / 1.173 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.7406, allocations: 8.781 kB / 1.173 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.7408, allocations: 27.97 kB / 1.173 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.7408, allocations: 11.98 kB / 1.173 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.7409, allocations: 12 kB / 1.173 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.799e-05/0.7409, allocations: 124.8 kB / 1.174 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.741, allocations: 0 / 1.174 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003276/0.7413, allocations: 43.98 kB / 1.174 GB, free: 7.031 MB / 0.7448 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.0003593/0.7417, allocations: 202.9 kB / 1.174 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.742, allocations: 120 kB / 1.174 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.742, allocations: 3.938 kB / 1.174 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.7422, allocations: 63.89 kB / 1.174 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.7425, allocations: 20.36 kB / 1.174 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.7429, allocations: 266.9 kB / 1.174 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.7432, allocations: 0.7167 MB / 1.175 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.4e-05/0.7433, allocations: 20.53 kB / 1.175 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.7433, allocations: 11.44 kB / 1.175 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.7433, allocations: 4 kB / 1.175 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of Templates: time 0.004206/0.7475, allocations: 1.633 MB / 1.177 GB, free: 4.004 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)