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.0009062/0.0009062, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001973/0.001973, allocations: 161 kB / 24.17 MB, free: 328 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 1.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.847/1.847, allocations: 389.6 MB / 0.6354 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.823e-06/1.823e-06, allocations: 0 / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.336e-05, allocations: 5.406 kB / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002434/0.002468, allocations: 1.628 MB / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.00369, allocations: 0.756 MB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.003743, allocations: 3.938 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.003852, allocations: 10.45 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.003909, allocations: 27.39 kB / 0.7775 GB, free: 3.027 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.0004819/0.004391, allocations: 112.2 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.004578, allocations: 137.6 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004694, allocations: 38.84 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.004803, allocations: 75.86 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004886, allocations: 55.8 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004905, allocations: 9.5 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.005019, allocations: 51.95 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.005065, allocations: 27.86 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.005109, allocations: 43.89 kB / 0.778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.005311, allocations: 156.2 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005313, allocations: 0 / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005315, allocations: 1.625 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.005321, allocations: 0 / 0.7782 GB, free: 2.34 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.000554/0.005875, allocations: 455.9 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.005918, allocations: 13.34 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.005961, allocations: 12.92 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.006134, allocations: 157.6 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006146, allocations: 8.359 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.006163, allocations: 15.81 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.006325, allocations: 103.4 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006331, allocations: 192 / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006343, allocations: 8.375 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.006353, allocations: 3.938 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.006384, allocations: 15.98 kB / 0.7789 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.006722, allocations: 299.1 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.006786, allocations: 46.61 kB / 0.7793 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.006812, allocations: 25.64 kB / 0.7793 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.006832, allocations: 4.062 kB / 0.7793 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.006953, allocations: 121.5 kB / 0.7794 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.006954, allocations: 4 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001496/0.007104, allocations: 77.59 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.007147, allocations: 82.17 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.007234, allocations: 162.6 kB / 0.7797 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.007255, allocations: 33.7 kB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.007297, allocations: 104.8 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.007334, allocations: 24.62 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.007373, allocations: 33.69 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.007454, allocations: 331.9 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.007472, allocations: 8 kB / 0.7802 GB, free: 36 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.007566, allocations: 163.3 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.00765, allocations: 102.1 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007652, allocations: 0 / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001081/0.00776, allocations: 107.4 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007772, allocations: 5.438 kB / 0.7806 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007777, allocations: 4 kB / 0.7806 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00779, allocations: 4 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.007859, allocations: 19.92 kB / 0.7806 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.007863, allocations: 4.562 kB / 0.7806 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.007906, allocations: 8.469 kB / 0.7806 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.007917, allocations: 4 kB / 0.7806 GB, free: 15.54 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 9.088e-05/0.008008, allocations: 133.3 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.008027, allocations: 21.7 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.008066, allocations: 21.41 kB / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008069, allocations: 0 / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008071, allocations: 0 / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.008077, allocations: 3.984 kB / 0.7808 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.008374, allocations: 343.6 kB / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008376, allocations: 0 / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.008417, allocations: 15.92 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.00842, allocations: 1.125 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.008428, allocations: 4 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.008432, allocations: 4 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008433, allocations: 1.094 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.008589, allocations: 242.7 kB / 0.7814 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.008604, allocations: 15.89 kB / 0.7814 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.008616, allocations: 13.16 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.008694, allocations: 11.98 kB / 0.7814 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.008727, allocations: 13.02 kB / 0.7814 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.00875, allocations: 8 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.008784, allocations: 39.31 kB / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008784, allocations: 1.312 kB / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002218/0.009006, allocations: 43.92 kB / 0.7815 GB, free: 14.57 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.0004199/0.009426, allocations: 203.2 kB / 0.7817 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.00954, allocations: 58.52 kB / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.009545, allocations: 0 / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.009587, allocations: 38.05 kB / 0.7818 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009796, allocations: 28.05 kB / 0.7818 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.01017, allocations: 250.9 kB / 0.7821 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01022, allocations: 63.34 kB / 0.7821 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.01026, allocations: 24.41 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.01033, allocations: 82.31 kB / 0.7822 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of SimCode: time 9.51e-07/0.01033, allocations: 0 / 0.7822 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.004286/0.01462, allocations: 1.887 MB / 0.7841 GB, free: 12.11 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.933308271691203]