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.0006863/0.0006863, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009189/0.001605, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006676/0.0006676, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009452/0.001613, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08843/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.84/1.84, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4117/2.251, allocations: 127.1 MB / 0.7435 GB, free: 4.52 MB / 0.7136 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.763e-06/1.763e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.454e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.00266/0.002675, allocations: 1.687 MB / 0.7464 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003929, allocations: 0.7662 MB / 0.7472 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.003984, allocations: 4 kB / 0.7472 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.134e-05/0.004056, allocations: 15.8 kB / 0.7472 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.004116, allocations: 16.42 kB / 0.7472 GB, free: 0.7695 MB / 0.7136 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.0003641/0.00448, allocations: 112.6 kB / 0.7473 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.004705, allocations: 138.5 kB / 0.7474 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004829, allocations: 37.8 kB / 0.7475 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.004987, allocations: 85.8 kB / 0.7476 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.005085, allocations: 47.88 kB / 0.7476 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.005115, allocations: 12 kB / 0.7476 GB, free: 368 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.005258, allocations: 59.83 kB / 0.7477 GB, free: 308 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.005316, allocations: 31.86 kB / 0.7477 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.005369, allocations: 29.44 kB / 0.7477 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.00561, allocations: 127.6 kB / 0.7479 GB, free: 120 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.005622, allocations: 4 kB / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005623, allocations: 0 / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.005639, allocations: 0.9688 kB / 0.7479 GB, free: 116 kB / 0.7136 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.0008621/0.006501, allocations: 480.4 kB / 0.7483 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.006544, allocations: 8.031 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.006603, allocations: 17.48 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.0068, allocations: 158.9 kB / 0.7485 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.006813, allocations: 8.312 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.00684, allocations: 12.38 kB / 0.7485 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.007044, allocations: 107.7 kB / 0.7486 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.007053, allocations: 192 / 0.7486 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.007068, allocations: 6.812 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007074, allocations: 4 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.007121, allocations: 22.36 kB / 0.7487 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.00755, allocations: 299.1 kB / 0.7489 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.007635, allocations: 49.14 kB / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.007666, allocations: 13.72 kB / 0.749 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.007693, allocations: 14.17 kB / 0.749 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.007856, allocations: 111.8 kB / 0.7491 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.007857, allocations: 0 / 0.7491 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002015/0.008059, allocations: 81.59 kB / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.008108, allocations: 82.67 kB / 0.7493 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008221, allocations: 154.6 kB / 0.7494 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.008248, allocations: 37.69 kB / 0.7495 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.008299, allocations: 104.3 kB / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.008336, allocations: 27.8 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.008393, allocations: 40.44 kB / 0.7496 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.008495, allocations: 326.8 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.008519, allocations: 15.92 kB / 0.75 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.008648, allocations: 224.8 kB / 0.7502 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.008747, allocations: 93.03 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.008751, allocations: 4 kB / 0.7503 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001448/0.008896, allocations: 98.17 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.008909, allocations: 4.688 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008915, allocations: 4 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.00893, allocations: 4.531 kB / 0.7504 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.009024, allocations: 16.56 kB / 0.7504 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.009032, allocations: 7.984 kB / 0.7504 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.009102, allocations: 8.781 kB / 0.7504 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.009127, allocations: 11.94 kB / 0.7504 GB, free: 13.22 MB / 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 9.319e-05/0.00922, allocations: 129.8 kB / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.009248, allocations: 11.98 kB / 0.7505 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.009288, allocations: 18.19 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.009292, allocations: 4 kB / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.009294, allocations: 1.375 kB / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009297, allocations: 0 / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.009651, allocations: 345.8 kB / 0.7509 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.009654, allocations: 4 kB / 0.7509 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.009709, allocations: 12.52 kB / 0.7509 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.009725, allocations: 16.81 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.009728, allocations: 0 / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.009736, allocations: 1.562 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.009741, allocations: 7.938 kB / 0.7509 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.009742, allocations: 0 / 0.7509 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.009902, allocations: 254.6 kB / 0.7512 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.009919, allocations: 4 kB / 0.7512 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01007, allocations: 14.33 kB / 0.7512 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.01011, allocations: 15.92 kB / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.01013, allocations: 4 kB / 0.7512 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.01018, allocations: 43.06 kB / 0.7513 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01018, allocations: 0 / 0.7513 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003406/0.01052, allocations: 40.58 kB / 0.7513 GB, free: 12.27 MB / 0.7292 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.0005719/0.01109, allocations: 227.2 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.01125, allocations: 61.31 kB / 0.7516 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.01126, allocations: 4 kB / 0.7516 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.01134, allocations: 41.81 kB / 0.7516 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.01172, allocations: 143.2 kB / 0.7518 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.01233, allocations: 258.2 kB / 0.752 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.67e-05/0.01239, allocations: 75.77 kB / 0.7521 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.789e-05/0.01245, allocations: 13.8 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.01254, allocations: 75.36 kB / 0.7522 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.01254, allocations: 0 / 0.7522 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.005246/0.01779, allocations: 2.031 MB / 0.7541 GB, free: 9.5 MB / 0.7292 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.664255863986909]