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.001543/0.001543, allocations: 85.45 kB / 21.62 MB, free: 2.836 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.001074/0.001074, allocations: 170.1 kB / 25.05 MB, free: 9.148 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.9722/0.9722, allocations: 177.1 MB / 205.5 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.954/1.954, allocations: 389.6 MB / 0.6363 GB, free: 12.24 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.543e-06/1.543e-06, allocations: 0 / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.499e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002284/0.002309, allocations: 1.68 MB / 0.7777 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003367, allocations: 0.7519 MB / 0.7785 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.003415, allocations: 3.938 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003527, allocations: 14.11 kB / 0.7785 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.003579, allocations: 22.89 kB / 0.7785 GB, free: 2.859 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.0003888/0.003968, allocations: 114.1 kB / 0.7786 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004133, allocations: 147.5 kB / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00424, allocations: 31.09 kB / 0.7788 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004343, allocations: 75.8 kB / 0.7789 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.004424, allocations: 57.3 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004445, allocations: 8 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.004561, allocations: 55.83 kB / 0.779 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.004605, allocations: 31.91 kB / 0.779 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.004646, allocations: 40.56 kB / 0.7791 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.004831, allocations: 147.5 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004834, allocations: 0.6875 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004835, allocations: 0 / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.00484, allocations: 5.703 kB / 0.7792 GB, free: 2.172 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.0004927/0.005333, allocations: 446.1 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.005365, allocations: 13.84 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.005407, allocations: 21.66 kB / 0.7797 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.00556, allocations: 161.5 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.005571, allocations: 7.344 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.005589, allocations: 12.38 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005742, allocations: 103.4 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.00575, allocations: 4.188 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.005764, allocations: 4.375 kB / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.005773, allocations: 3.938 kB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.005805, allocations: 23.86 kB / 0.78 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.006132, allocations: 293.9 kB / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.785e-05/0.006199, allocations: 53.14 kB / 0.7803 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.006226, allocations: 21.7 kB / 0.7803 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.006245, allocations: 3.938 kB / 0.7803 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.006368, allocations: 113.8 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.00637, allocations: 4 kB / 0.7804 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001558/0.006526, allocations: 81.59 kB / 0.7805 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.006566, allocations: 81.11 kB / 0.7806 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.006646, allocations: 166.5 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.006662, allocations: 30.45 kB / 0.7808 GB, free: 388 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.006703, allocations: 104.3 kB / 0.7809 GB, free: 276 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.006735, allocations: 24.81 kB / 0.7809 GB, free: 252 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.006778, allocations: 41.69 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.006872, allocations: 326.8 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.006889, allocations: 8.859 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.006991, allocations: 216.8 kB / 0.7815 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.007066, allocations: 92.61 kB / 0.7816 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007069, allocations: 0 / 0.7816 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003755/0.007444, allocations: 103.5 kB / 0.7817 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.007461, allocations: 9.234 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.007468, allocations: 3.938 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.007478, allocations: 4 kB / 0.7817 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.007548, allocations: 8.812 kB / 0.7817 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.007554, allocations: 11.92 kB / 0.7817 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.007598, allocations: 12.53 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.007617, allocations: 4.938 kB / 0.7817 GB, free: 15.32 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 8.172e-05/0.007699, allocations: 137.4 kB / 0.7818 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.007717, allocations: 16.52 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.007757, allocations: 13.47 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.00776, allocations: 4.875 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.007763, allocations: 4.062 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007767, allocations: 0.9375 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.008036, allocations: 349.8 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.008038, allocations: 0 / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.008076, allocations: 12.89 kB / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.008078, allocations: 0 / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.008085, allocations: 5.031 kB / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.008089, allocations: 7.938 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00809, allocations: 0 / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.008206, allocations: 239.6 kB / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.008218, allocations: 16.12 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008231, allocations: 8.844 kB / 0.7825 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.008312, allocations: 12.8 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.008347, allocations: 19.91 kB / 0.7825 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.008363, allocations: 5.906 kB / 0.7825 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.008397, allocations: 39.81 kB / 0.7826 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008397, allocations: 0 / 0.7826 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000214/0.008611, allocations: 47.92 kB / 0.7826 GB, free: 14.35 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.0003904/0.009001, allocations: 205.4 kB / 0.7828 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.009126, allocations: 63.22 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.00913, allocations: 4 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.009166, allocations: 24.84 kB / 0.7829 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.009374, allocations: 25.02 kB / 0.7829 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.009721, allocations: 253.4 kB / 0.7832 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.009762, allocations: 71.83 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.009807, allocations: 17.77 kB / 0.7832 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.009873, allocations: 74.08 kB / 0.7833 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/0.009874, allocations: 4 kB / 0.7833 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.003937/0.01381, allocations: 1.993 MB / 0.7853 GB, free: 11.79 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.995810446329415]