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.001334/0.001334, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.004437/0.004437, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9491/0.9491, allocations: 177.2 MB / 205.6 MB, free: 5.398 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.817/1.817, allocations: 389.6 MB / 0.6364 GB, free: 12.19 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.944e-06/1.944e-06, allocations: 0 / 0.7755 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.292e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002437/0.00246, allocations: 1.673 MB / 0.7771 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003654, allocations: 0.7621 MB / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.003719, allocations: 0 / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.003858, allocations: 9.188 kB / 0.7779 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-05/0.00392, allocations: 23.19 kB / 0.7779 GB, free: 3.578 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.0004514/0.004371, allocations: 110.3 kB / 0.778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.004847, allocations: 156 kB / 0.7782 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.004998, allocations: 26.5 kB / 0.7782 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005116, allocations: 75.2 kB / 0.7783 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.005198, allocations: 47.88 kB / 0.7783 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.005219, allocations: 12 kB / 0.7783 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.005376, allocations: 55.89 kB / 0.7784 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.005429, allocations: 39.83 kB / 0.7784 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.005477, allocations: 35.91 kB / 0.7785 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.005668, allocations: 147.5 kB / 0.7786 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00567, allocations: 0 / 0.7786 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005671, allocations: 0 / 0.7786 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.005676, allocations: 2.75 kB / 0.7786 GB, free: 2.898 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.0005123/0.006189, allocations: 457.2 kB / 0.779 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.006227, allocations: 14.97 kB / 0.7791 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.006274, allocations: 12.92 kB / 0.7791 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.006433, allocations: 157.5 kB / 0.7792 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006448, allocations: 8.375 kB / 0.7792 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.006466, allocations: 8.375 kB / 0.7792 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.006633, allocations: 107 kB / 0.7793 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006641, allocations: 192 / 0.7793 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.006652, allocations: 5.188 kB / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.006659, allocations: 3.938 kB / 0.7793 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.006691, allocations: 20.47 kB / 0.7794 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.007031, allocations: 307.9 kB / 0.7797 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.007101, allocations: 50.08 kB / 0.7797 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.007123, allocations: 13.72 kB / 0.7797 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.007143, allocations: 9.375 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.007276, allocations: 107.9 kB / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.007278, allocations: 0 / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001792/0.007457, allocations: 94.22 kB / 0.7799 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.007517, allocations: 85.73 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.007613, allocations: 155.6 kB / 0.7801 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.007632, allocations: 34.73 kB / 0.7802 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.007681, allocations: 100.3 kB / 0.7803 GB, free: 1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.007716, allocations: 27.83 kB / 0.7803 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.00776, allocations: 42.28 kB / 0.7803 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.007868, allocations: 326.8 kB / 0.7807 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.007885, allocations: 8.875 kB / 0.7807 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.007996, allocations: 219 kB / 0.7809 GB, free: 320 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.008079, allocations: 96.78 kB / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.008083, allocations: 4 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001185/0.008201, allocations: 99.81 kB / 0.7811 GB, free: 92 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.008219, allocations: 8 kB / 0.7811 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.008226, allocations: 0.9375 kB / 0.7811 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.00824, allocations: 4 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.008313, allocations: 15.92 kB / 0.7811 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008319, allocations: 4.938 kB / 0.7811 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.008362, allocations: 16.09 kB / 0.7811 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.008385, allocations: 8.781 kB / 0.7811 GB, free: 36 kB / 0.7292 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 0.000102/0.008487, allocations: 122.6 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.008504, allocations: 19.92 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.008549, allocations: 17.45 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008552, allocations: 4 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008555, allocations: 3.938 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.008559, allocations: 0.9062 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.008854, allocations: 345.9 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.008857, allocations: 4 kB / 0.7816 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.008891, allocations: 8.969 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.008894, allocations: 4 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008902, allocations: 5.734 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008903, allocations: 0 / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008904, allocations: 0 / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.009031, allocations: 250.7 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.009048, allocations: 19.83 kB / 0.7819 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009063, allocations: 5.094 kB / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.009148, allocations: 17.61 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.009186, allocations: 7.984 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.009204, allocations: 11.98 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.009239, allocations: 46.25 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009239, allocations: 0 / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001882/0.009427, allocations: 40.84 kB / 0.782 GB, free: 15.07 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.0004099/0.009837, allocations: 205.8 kB / 0.7822 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.009951, allocations: 60.69 kB / 0.7823 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.009958, allocations: 6.75 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.009999, allocations: 28.78 kB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01021, allocations: 32.12 kB / 0.7823 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01058, allocations: 274.2 kB / 0.7826 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.01066, allocations: 104.6 kB / 0.7827 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.01073, allocations: 71.36 kB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01073, allocations: 0.9375 kB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.002976/0.01371, allocations: 2.14 MB / 0.7849 GB, free: 12.28 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 > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.681165930815041]