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.0009976/0.0009976, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.001186/0.001186, allocations: 161.7 kB / 24.97 MB, free: 8.703 MB / 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.9765/0.9765, allocations: 177.1 MB / 205.4 MB, free: 5.484 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.97/1.97, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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 1.913e-06/1.913e-06, allocations: 0.5469 kB / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.436e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002371/0.002396, allocations: 1.69 MB / 0.7776 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003539, allocations: 0.7568 MB / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.003594, allocations: 0 / 0.7783 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.003698, allocations: 15.8 kB / 0.7784 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.003755, allocations: 23.3 kB / 0.7784 GB, free: 2.914 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.0004732/0.004228, allocations: 109 kB / 0.7785 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.004425, allocations: 145.1 kB / 0.7786 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004542, allocations: 33.88 kB / 0.7786 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.004655, allocations: 75.86 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.004742, allocations: 55.8 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.004765, allocations: 8 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.004905, allocations: 56.64 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.004949, allocations: 27.91 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.004992, allocations: 40.47 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005183, allocations: 151.4 kB / 0.779 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005186, allocations: 0.8125 kB / 0.779 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005187, allocations: 0 / 0.779 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005192, allocations: 0.5938 kB / 0.779 GB, free: 2.234 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.0005205/0.005712, allocations: 455.4 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.005756, allocations: 13.34 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.005801, allocations: 18.05 kB / 0.7795 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.005965, allocations: 157.6 kB / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.005976, allocations: 4.375 kB / 0.7797 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.005991, allocations: 17.25 kB / 0.7797 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.006151, allocations: 103.4 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006158, allocations: 0.7812 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.006172, allocations: 13.14 kB / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006178, allocations: 3.938 kB / 0.7798 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.006205, allocations: 12.53 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.006524, allocations: 296.6 kB / 0.7801 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.006589, allocations: 53.12 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.006612, allocations: 14.38 kB / 0.7802 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.006633, allocations: 7.938 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.006767, allocations: 106.3 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.006769, allocations: 0 / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000156/0.006925, allocations: 89.53 kB / 0.7803 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.006961, allocations: 85.09 kB / 0.7804 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.007045, allocations: 158.6 kB / 0.7806 GB, free: 500 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.007062, allocations: 30.52 kB / 0.7806 GB, free: 464 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.007103, allocations: 108.3 kB / 0.7807 GB, free: 348 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.007131, allocations: 24.58 kB / 0.7807 GB, free: 324 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.007171, allocations: 37.69 kB / 0.7808 GB, free: 280 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.00727, allocations: 327.5 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.007287, allocations: 11.94 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.00737, allocations: 168.5 kB / 0.7813 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.007455, allocations: 102.3 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.007458, allocations: 4 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001048/0.007563, allocations: 103 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007575, allocations: 4 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00758, allocations: 4.531 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.007591, allocations: 4.234 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.00766, allocations: 17.05 kB / 0.7815 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.007666, allocations: 4 kB / 0.7815 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.007712, allocations: 12.75 kB / 0.7815 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.00772, allocations: 8 kB / 0.7815 GB, free: 15.43 MB / 0.7448 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 8.425e-05/0.007804, allocations: 129.2 kB / 0.7816 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.007822, allocations: 20.95 kB / 0.7817 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.007859, allocations: 17.41 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.007864, allocations: 3.984 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007865, allocations: 0.9375 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.007878, allocations: 15.89 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007892, allocations: 8.781 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.00794, allocations: 12.89 kB / 0.7817 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.007974, allocations: 11.98 kB / 0.7817 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000125/0.008099, allocations: 229.4 kB / 0.7819 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001391/0.008238, allocations: 320.8 kB / 0.7822 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.335e-05/0.008281, allocations: 28.77 kB / 0.7823 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.008319, allocations: 43.31 kB / 0.7823 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of Backend: time 4.11e-07/0.008319, allocations: 2.75 kB / 0.7823 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.009193, allocations: 224 kB / 0.7825 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005286/0.009722, allocations: 0.7833 MB / 0.7833 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.004097/0.01382, allocations: 2.136 MB / 0.7854 GB, free: 11.59 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: 4.927169538103044]