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.002387/0.002387, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002753/0.002753, allocations: 215.2 kB / 23.02 MB, free: 2.957 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.694/1.694, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 3.301/3.301, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003763/0.003763, allocations: 67.89 kB / 1.177 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8022, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.003058/0.8052, allocations: 1.579 MB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.8068, allocations: 0.7287 MB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.8068, allocations: 0 / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.8069, allocations: 19.73 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.807, allocations: 19.8 kB / 1.355 GB, free: 15.26 MB / 1.042 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.0004629/0.8075, allocations: 123.6 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.8077, allocations: 131.6 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8078, allocations: 33.02 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8079, allocations: 55.83 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.808, allocations: 59.69 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.8081, allocations: 12 kB / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.8082, allocations: 51.95 kB / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.8083, allocations: 27.92 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.8083, allocations: 55.7 kB / 1.356 GB, free: 14.72 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.8086, allocations: 170.2 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8086, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8086, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8086, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 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.0009509/0.8096, allocations: 0.4884 MB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.8096, allocations: 12.92 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.8097, allocations: 12.89 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.8099, allocations: 154.8 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.81, allocations: 8.375 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.81, allocations: 12.38 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.8103, allocations: 138 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8103, allocations: 0 / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.8103, allocations: 4 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8104, allocations: 0 / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.8106, allocations: 67.94 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.8113, allocations: 396.4 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.8115, allocations: 77.12 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.8116, allocations: 41.81 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.8117, allocations: 7.984 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.812, allocations: 145 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.812, allocations: 0 / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.0005869/0.8126, allocations: 189.7 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.8126, allocations: 81.11 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.813, allocations: 164.2 kB / 1.358 GB, free: 12.4 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.813, allocations: 37.64 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.8131, allocations: 112.3 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.8131, allocations: 39.78 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.8132, allocations: 33.7 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8134, allocations: 326.8 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.8135, allocations: 35.97 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.8138, allocations: 199.2 kB / 1.359 GB, free: 11.55 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.8141, allocations: 151.5 kB / 1.359 GB, free: 11.37 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8141, allocations: 0 / 1.359 GB, free: 11.37 MB / 1.042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003852/0.8145, allocations: 165.3 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8145, allocations: 10.34 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8145, allocations: 0 / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8145, allocations: 4.109 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.8147, allocations: 24.14 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.8147, allocations: 3.938 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.8148, allocations: 24.27 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.8148, allocations: 4 kB / 1.359 GB, free: 11.14 MB / 1.042 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 (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 0.0001467/0.8149, allocations: 138.3 kB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.815, allocations: 19.91 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.815, allocations: 17.39 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.815, allocations: 0 / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.815, allocations: 4 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.815, allocations: 3.938 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.8158, allocations: 473.3 kB / 1.36 GB, free: 10.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8158, allocations: 0 / 1.36 GB, free: 10.44 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.8159, allocations: 19.92 kB / 1.36 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8159, allocations: 4 kB / 1.36 GB, free: 10.42 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.8159, allocations: 4 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.8159, allocations: 7.938 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8159, allocations: 0 / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.8163, allocations: 326.6 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.8164, allocations: 11.91 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8164, allocations: 4 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.8166, allocations: 19.92 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.8166, allocations: 16 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.8167, allocations: 11.94 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001101/0.8168, allocations: 119.2 kB / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.8168, allocations: 0 / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003318/0.8171, allocations: 43.92 kB / 1.36 GB, free: 9.848 MB / 1.042 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.0006156/0.8177, allocations: 195.4 kB / 1.36 GB, free: 9.688 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.8181, allocations: 103.8 kB / 1.36 GB, free: 9.586 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8181, allocations: 0 / 1.36 GB, free: 9.586 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.8183, allocations: 55.89 kB / 1.36 GB, free: 9.531 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.8186, allocations: 12.56 kB / 1.36 GB, free: 9.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.8192, allocations: 271.5 kB / 1.361 GB, free: 9.223 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.8193, allocations: 98.27 kB / 1.361 GB, free: 9.105 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.8194, allocations: 20.47 kB / 1.361 GB, free: 9.086 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.8194, allocations: 19.44 kB / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of SimCode: time 3.81e-07/0.8194, allocations: 0 / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of Templates: time 0.005953/0.8254, allocations: 1.869 MB / 1.363 GB, free: 7.242 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.917443515732884]