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.0008144/0.0008144, allocations: 81.41 kB / 20.82 MB, free: 3.629 MB / 18.57 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.0008666/0.0008666, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 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 0.9561/0.9561, allocations: 177.1 MB / 204.7 MB, free: 5.445 MB / 186.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.875/1.875, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 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 3.336e-06/3.336e-06, allocations: 0 / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.955e-05, allocations: 5.125 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002038/0.002067, allocations: 1.677 MB / 0.777 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003151, allocations: 0.7595 MB / 0.7777 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.003206, allocations: 4 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003311, allocations: 13.61 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.003363, allocations: 23.97 kB / 0.7778 GB, free: 2.832 MB / 0.7292 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.0003988/0.003762, allocations: 107.7 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.003916, allocations: 148.4 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004017, allocations: 29.86 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.004111, allocations: 75.86 kB / 0.7781 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.00418, allocations: 47.88 kB / 0.7782 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.004199, allocations: 12 kB / 0.7782 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.004305, allocations: 47.97 kB / 0.7782 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.004351, allocations: 39.83 kB / 0.7783 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.004389, allocations: 34.66 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004562, allocations: 159.4 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.004564, allocations: 0 / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004565, allocations: 0 / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004568, allocations: 0 / 0.7784 GB, free: 2.152 MB / 0.7292 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.0005044/0.005073, allocations: 454.9 kB / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.005106, allocations: 9.344 kB / 0.7789 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.005143, allocations: 16.92 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.005288, allocations: 162.2 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.0053, allocations: 10.25 kB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.005316, allocations: 8.375 kB / 0.7791 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.00546, allocations: 103.4 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005469, allocations: 192 / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.005479, allocations: 384 / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.005486, allocations: 8.719 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.005516, allocations: 19.86 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.005823, allocations: 300.8 kB / 0.7795 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.005881, allocations: 49.2 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.005905, allocations: 18.66 kB / 0.7795 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.00592, allocations: 7.938 kB / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.006031, allocations: 112.3 kB / 0.7797 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.006033, allocations: 0.9375 kB / 0.7797 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001414/0.006174, allocations: 85.58 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.006216, allocations: 89.92 kB / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.006294, allocations: 150.6 kB / 0.78 GB, free: 416 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.00631, allocations: 35.14 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.00635, allocations: 112.2 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.006375, allocations: 23.84 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.006414, allocations: 37.69 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.006499, allocations: 323.5 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.006515, allocations: 11.98 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.006607, allocations: 213.7 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.006685, allocations: 95.97 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.006688, allocations: 4.938 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.575e-05/0.006784, allocations: 103.3 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.006794, allocations: 4 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0068, allocations: 4 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.006811, allocations: 8.938 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.006878, allocations: 15.88 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006883, allocations: 4.938 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.006926, allocations: 15.92 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.006949, allocations: 8.719 kB / 0.7809 GB, free: 15.29 MB / 0.7448 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.887e-05/0.007028, allocations: 126.8 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.007044, allocations: 19.92 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.007077, allocations: 21.39 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.00708, allocations: 0 / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.007082, allocations: 4 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007086, allocations: 0.9375 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.007327, allocations: 341.9 kB / 0.7814 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007328, allocations: 0 / 0.7814 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.00736, allocations: 16.95 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007363, allocations: 4 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007369, allocations: 1.75 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00737, allocations: 0 / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007371, allocations: 0 / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.007493, allocations: 250.7 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.007504, allocations: 11.91 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.007515, allocations: 5.078 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.007596, allocations: 19.98 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.007627, allocations: 9.484 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.007641, allocations: 12 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.007671, allocations: 43.25 kB / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007671, allocations: 0 / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001922/0.007863, allocations: 36.91 kB / 0.7818 GB, free: 14.34 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 (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.0003427/0.008206, allocations: 206.4 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.008311, allocations: 63.14 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.008316, allocations: 4 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.008352, allocations: 32.78 kB / 0.7821 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.008542, allocations: 28.09 kB / 0.7822 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.008866, allocations: 245.9 kB / 0.7824 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.008905, allocations: 67.84 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.008944, allocations: 21.47 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.009011, allocations: 75.36 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009012, allocations: 1.156 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.003525/0.01254, allocations: 2.017 MB / 0.7845 GB, free: 11.75 MB / 0.7448 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: 5.01904786657542]