Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005973/0.0005974, allocations: 15.44 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5617, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001809/0.5635, allocations: 1.269 MB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.5647, allocations: 0.7101 MB / 0.7299 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.5648, allocations: 0 / 0.7299 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.862e-05/0.5649, allocations: 3.938 kB / 0.7299 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.565, allocations: 23.89 kB / 0.7299 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.5654, allocations: 91.7 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.5656, allocations: 83.83 kB / 0.7301 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.5657, allocations: 37.02 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-05/0.5658, allocations: 43.83 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.5659, allocations: 55.75 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.566, allocations: 4 kB / 0.7302 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.5661, allocations: 35.97 kB / 0.7303 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.5661, allocations: 27.91 kB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.5662, allocations: 41.64 kB / 0.7303 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.5664, allocations: 113.7 kB / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5664, allocations: 0 / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5664, allocations: 0 / 0.7304 GB, free: 8.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.5664, allocations: 3.938 kB / 0.7304 GB, free: 8.855 MB / 0.545 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.0008543/0.5673, allocations: 0.5263 MB / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5673, allocations: 15.97 kB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.5674, allocations: 15.81 kB / 0.731 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.5676, allocations: 219.5 kB / 0.7312 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.5677, allocations: 8 kB / 0.7312 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.5677, allocations: 8 kB / 0.7312 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.568, allocations: 139.3 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5681, allocations: 0 / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.5681, allocations: 3.938 kB / 0.7314 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.5681, allocations: 4 kB / 0.7314 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.5683, allocations: 79.94 kB / 0.7314 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.5691, allocations: 472.7 kB / 0.7319 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.5693, allocations: 97.17 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.5694, allocations: 0 / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.5697, allocations: 153.1 kB / 0.7321 GB, free: 6.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.5697, allocations: 0 / 0.7321 GB, free: 6.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006226/0.5704, allocations: 217.2 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.5704, allocations: 85.11 kB / 0.7324 GB, free: 6.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.5706, allocations: 163.6 kB / 0.7326 GB, free: 6.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.5706, allocations: 33.8 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.5707, allocations: 124.2 kB / 0.7327 GB, free: 6.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.5707, allocations: 19.72 kB / 0.7327 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5708, allocations: 0 / 0.7327 GB, free: 6.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5709, allocations: 326.8 kB / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.571, allocations: 43.95 kB / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.5712, allocations: 121.5 kB / 0.7332 GB, free: 5.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.5714, allocations: 63.91 kB / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5714, allocations: 0 / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003669/0.5718, allocations: 181.4 kB / 0.7334 GB, free: 5.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5718, allocations: 11.98 kB / 0.7334 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5718, allocations: 4 kB / 0.7335 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5718, allocations: 7.953 kB / 0.7335 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.572, allocations: 24.3 kB / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.572, allocations: 0 / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.5721, allocations: 20.11 kB / 0.7335 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.5721, allocations: 12 kB / 0.7335 GB, free: 5.414 MB / 0.545 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.0001273/0.5722, allocations: 137.7 kB / 0.7336 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5723, allocations: 19.8 kB / 0.7337 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.5723, allocations: 17.41 kB / 0.7337 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5723, allocations: 3.953 kB / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5724, allocations: 0 / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5724, allocations: 0 / 0.7337 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.5731, allocations: 0.5445 MB / 0.7342 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5731, allocations: 4 kB / 0.7342 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.5732, allocations: 19.94 kB / 0.7342 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5732, allocations: 0 / 0.7342 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5732, allocations: 11.98 kB / 0.7343 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5732, allocations: 0 / 0.7343 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5732, allocations: 0 / 0.7343 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.5736, allocations: 352.1 kB / 0.7346 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.5737, allocations: 88.92 kB / 0.7347 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.5737, allocations: 4 kB / 0.7347 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.5739, allocations: 23.97 kB / 0.7347 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.574, allocations: 11.98 kB / 0.7347 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.574, allocations: 8 kB / 0.7347 GB, free: 4.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.5741, allocations: 115.2 kB / 0.7348 GB, free: 3.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5741, allocations: 0 / 0.7348 GB, free: 3.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003474/0.5745, allocations: 35.98 kB / 0.7349 GB, free: 3.926 MB / 0.545 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.000454/0.5749, allocations: 206.1 kB / 0.7351 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.5753, allocations: 124.2 kB / 0.7352 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5754, allocations: 4.062 kB / 0.7352 GB, free: 3.629 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.5755, allocations: 67.83 kB / 0.7352 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.5758, allocations: 19.98 kB / 0.7353 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.5763, allocations: 263 kB / 0.7355 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.5766, allocations: 0.7238 MB / 0.7362 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.5767, allocations: 24.47 kB / 0.7362 GB, free: 2.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.5768, allocations: 15.44 kB / 0.7363 GB, free: 2.473 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5768, allocations: 0 / 0.7363 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Templates: time 0.005007/0.5818, allocations: 1.574 MB / 0.7378 GB, free: 0.9141 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) Environment - environmentSimulation: