Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006517/0.0006517, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008322/0.001484, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.003448, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.1/1.1, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.189, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.864/1.864, allocations: 389.9 MB / 0.619 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4333/2.297, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7445 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.917e-06/1.005e-05, allocations: 7.016 kB / 0.7445 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001831/0.001841, allocations: 1.681 MB / 0.7461 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000876/0.002717, allocations: 0.7628 MB / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.002759, allocations: 0 / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.002812, allocations: 16.89 kB / 0.7469 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.002849, allocations: 18.81 kB / 0.7469 GB, free: 0.8867 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.0002749/0.003124, allocations: 109.1 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.003281, allocations: 145.8 kB / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.003378, allocations: 34.55 kB / 0.7472 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003501, allocations: 88.41 kB / 0.7472 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.00357, allocations: 52.39 kB / 0.7473 GB, free: 488 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.003588, allocations: 8.625 kB / 0.7473 GB, free: 480 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.003687, allocations: 51.91 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.003729, allocations: 28.45 kB / 0.7474 GB, free: 400 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.003767, allocations: 37.38 kB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.00392, allocations: 127.6 kB / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.003934, allocations: 0 / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003934, allocations: 0 / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.003949, allocations: 0 / 0.7475 GB, free: 236 kB / 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.0005568/0.004506, allocations: 483.7 kB / 0.748 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.004537, allocations: 16.02 kB / 0.748 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.004574, allocations: 13.48 kB / 0.748 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004716, allocations: 149.6 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.004727, allocations: 9.906 kB / 0.7482 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.004741, allocations: 8.375 kB / 0.7482 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.004885, allocations: 114.4 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004894, allocations: 6.281 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004903, allocations: 4.312 kB / 0.7483 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.004909, allocations: 3.938 kB / 0.7483 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.00494, allocations: 15.98 kB / 0.7483 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.005234, allocations: 301.5 kB / 0.7486 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.005295, allocations: 45.2 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.005319, allocations: 25.64 kB / 0.7487 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.00534, allocations: 8.062 kB / 0.7487 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.005467, allocations: 107.8 kB / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.005468, allocations: 1.688 kB / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001364/0.005605, allocations: 85.47 kB / 0.7489 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.005643, allocations: 81.11 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.005723, allocations: 166.6 kB / 0.7491 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.005741, allocations: 31.2 kB / 0.7491 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.005778, allocations: 100.3 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.005805, allocations: 23.84 kB / 0.7493 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.00585, allocations: 37.69 kB / 0.7493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.005931, allocations: 331.8 kB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.005946, allocations: 7.938 kB / 0.7496 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.00604, allocations: 224.8 kB / 0.7498 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.006114, allocations: 92.92 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006117, allocations: 0 / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.724e-05/0.006214, allocations: 104.1 kB / 0.75 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.006229, allocations: 8 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006234, allocations: 0 / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006247, allocations: 6.938 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.006325, allocations: 27.98 kB / 0.7501 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.006329, allocations: 0 / 0.7501 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.00637, allocations: 8 kB / 0.7501 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.006393, allocations: 8 kB / 0.7501 GB, free: 13.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.006473, allocations: 137.3 kB / 0.7502 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.006491, allocations: 19.91 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.006525, allocations: 17.97 kB / 0.7502 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006527, allocations: 4.781 kB / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006529, allocations: 0 / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.006534, allocations: 4.609 kB / 0.7502 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.0068, allocations: 345.8 kB / 0.7506 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006801, allocations: 0.9062 kB / 0.7506 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.006833, allocations: 11.98 kB / 0.7506 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.006845, allocations: 17.09 kB / 0.7506 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006848, allocations: 0 / 0.7506 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.006857, allocations: 7.984 kB / 0.7506 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.006858, allocations: 0 / 0.7506 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006859, allocations: 0.8438 kB / 0.7506 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.006983, allocations: 258.5 kB / 0.7509 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.006994, allocations: 0.5312 kB / 0.7509 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.007075, allocations: 17.3 kB / 0.7509 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.007104, allocations: 7.984 kB / 0.7509 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.00712, allocations: 7.984 kB / 0.7509 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.007151, allocations: 40.7 kB / 0.7509 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007151, allocations: 0 / 0.7509 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002126/0.007363, allocations: 43.92 kB / 0.751 GB, free: 12.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.00775, allocations: 216 kB / 0.7512 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.007855, allocations: 61.36 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.007862, allocations: 1.125 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.007899, allocations: 32.78 kB / 0.7513 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.008096, allocations: 28.67 kB / 0.7513 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.008552, allocations: 269.3 kB / 0.7516 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.008596, allocations: 71.83 kB / 0.7516 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.008638, allocations: 22.7 kB / 0.7516 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.008703, allocations: 75.36 kB / 0.7517 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.008703, allocations: 0 / 0.7517 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.003794/0.0125, allocations: 2.044 MB / 0.7537 GB, free: 9.734 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.825300020165741]