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.0009697/0.0009696, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 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.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.582/1.582, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0004764/0.0004764, allocations: 16 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4798, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001644/0.4814, allocations: 1.281 MB / 0.7294 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4827, allocations: 0.7062 MB / 0.7301 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.4828, allocations: 3.938 kB / 0.7301 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.578e-05/0.4829, allocations: 7.922 kB / 0.7301 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.483, allocations: 19.86 kB / 0.7301 GB, free: 9.422 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.IO.Files.BaseClasses.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.4835, allocations: 91.83 kB / 0.7302 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.4837, allocations: 123.5 kB / 0.7303 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4838, allocations: 25.02 kB / 0.7303 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.4839, allocations: 47.78 kB / 0.7304 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.484, allocations: 55.75 kB / 0.7304 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.484, allocations: 4 kB / 0.7304 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4841, allocations: 47.95 kB / 0.7305 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.4842, allocations: 23.91 kB / 0.7305 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.4842, allocations: 41.64 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.4844, allocations: 109.7 kB / 0.7306 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4844, allocations: 0 / 0.7306 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4844, allocations: 0 / 0.7306 GB, free: 8.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.4844, allocations: 0 / 0.7306 GB, free: 8.859 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.0007551/0.4852, allocations: 0.5311 MB / 0.7312 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4852, allocations: 12.03 kB / 0.7312 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.4853, allocations: 15.81 kB / 0.7312 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4855, allocations: 219.4 kB / 0.7314 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4855, allocations: 11.94 kB / 0.7314 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4856, allocations: 11.98 kB / 0.7314 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.4859, allocations: 137.3 kB / 0.7316 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4859, allocations: 4 kB / 0.7316 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.486, allocations: 4 kB / 0.7316 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.486, allocations: 0 / 0.7316 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.4862, allocations: 87.88 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.4868, allocations: 468.8 kB / 0.7321 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.487, allocations: 85.12 kB / 0.7322 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4871, allocations: 61.8 kB / 0.7322 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.4872, allocations: 0 / 0.7322 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.4875, allocations: 164.9 kB / 0.7324 GB, free: 6.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 2.915e-06/0.4875, allocations: 112 / 0.7324 GB, free: 6.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005259/0.488, allocations: 209.3 kB / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.4881, allocations: 81.11 kB / 0.7327 GB, free: 6.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.4882, allocations: 175.5 kB / 0.7328 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4882, allocations: 29.7 kB / 0.7329 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.4883, allocations: 112.2 kB / 0.733 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.4884, allocations: 27.72 kB / 0.733 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.4884, allocations: 4 kB / 0.733 GB, free: 6.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4885, allocations: 330.8 kB / 0.7333 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4886, allocations: 35.97 kB / 0.7333 GB, free: 5.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4888, allocations: 122.3 kB / 0.7335 GB, free: 5.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.489, allocations: 63.91 kB / 0.7335 GB, free: 5.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.489, allocations: 0 / 0.7335 GB, free: 5.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003725/0.4894, allocations: 181.5 kB / 0.7337 GB, free: 5.422 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4894, allocations: 4 kB / 0.7337 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4894, allocations: 7.953 kB / 0.7337 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4895, allocations: 4 kB / 0.7337 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4896, allocations: 19.98 kB / 0.7337 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4896, allocations: 7.938 kB / 0.7337 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.4897, allocations: 15.98 kB / 0.7338 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4897, allocations: 8.031 kB / 0.7338 GB, free: 5.355 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.000139/0.4899, allocations: 138.1 kB / 0.7339 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.4899, allocations: 15.81 kB / 0.7339 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.49, allocations: 13.41 kB / 0.7339 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.49, allocations: 11.94 kB / 0.7339 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.49, allocations: 3.938 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.49, allocations: 0 / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.4909, allocations: 0.5445 MB / 0.7345 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4909, allocations: 3.953 kB / 0.7345 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.491, allocations: 23.92 kB / 0.7345 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.491, allocations: 4 kB / 0.7345 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4911, allocations: 0 / 0.7345 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4911, allocations: 0 / 0.7345 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4911, allocations: 4 kB / 0.7345 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.4916, allocations: 330.5 kB / 0.7348 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.4917, allocations: 92.88 kB / 0.7349 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.4917, allocations: 11.98 kB / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4919, allocations: 23.98 kB / 0.7349 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.492, allocations: 16.2 kB / 0.735 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.492, allocations: 11.98 kB / 0.735 GB, free: 4.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.4921, allocations: 119.2 kB / 0.7351 GB, free: 3.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4921, allocations: 0 / 0.7351 GB, free: 3.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004173/0.4926, allocations: 32 kB / 0.7351 GB, free: 3.871 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.0005434/0.4931, allocations: 198.4 kB / 0.7353 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.4935, allocations: 127.7 kB / 0.7354 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4936, allocations: 0 / 0.7354 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.4937, allocations: 68.47 kB / 0.7355 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4941, allocations: 23.48 kB / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.4946, allocations: 266.9 kB / 0.7358 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4949, allocations: 0.7121 MB / 0.7365 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.368e-05/0.495, allocations: 20.55 kB / 0.7365 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.495, allocations: 15.42 kB / 0.7365 GB, free: 2.434 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.495, allocations: 0 / 0.7365 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Templates: time 0.005174/0.5002, allocations: 1.586 MB / 0.738 GB, free: 0.8594 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: