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.001836/0.001836, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.00195/0.00195, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.588/1.588, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.212/3.212, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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.263e-06/1.263e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.727e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002952/0.002979, allocations: 1.591 MB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.00445, allocations: 0.7246 MB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.00451, allocations: 11.88 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.498e-05/0.004605, allocations: 11.88 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.004664, allocations: 23.73 kB / 1.003 GB, free: 10.64 MB / 0.9636 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.0004454/0.005109, allocations: 103.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.005332, allocations: 147.5 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.005461, allocations: 21.3 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.0056, allocations: 79.8 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.005695, allocations: 51.86 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.005725, allocations: 12 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.005851, allocations: 55.84 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.005915, allocations: 31.89 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.005982, allocations: 39.91 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.006276, allocations: 191.4 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006279, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.125e-06/0.006282, allocations: 3.984 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.006286, allocations: 4 kB / 1.004 GB, free: 9.91 MB / 0.9636 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.0009035/0.00719, allocations: 482.6 kB / 1.005 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.007224, allocations: 9.344 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.007284, allocations: 16.84 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.00751, allocations: 153.5 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.007525, allocations: 8.375 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.007547, allocations: 12.38 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.007876, allocations: 127.9 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007886, allocations: 192 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.007899, allocations: 4.312 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.00791, allocations: 7.938 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.00816, allocations: 67.88 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.008802, allocations: 388.5 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.009025, allocations: 85.11 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.009173, allocations: 45.81 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.009199, allocations: 3.938 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.009527, allocations: 145 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.009528, allocations: 0 / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0006144/0.01014, allocations: 193.7 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.01021, allocations: 77.11 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01039, allocations: 159.8 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.01042, allocations: 37.78 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.01052, allocations: 116.3 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.01056, allocations: 31.73 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.01063, allocations: 33.7 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.0108, allocations: 326.8 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01093, allocations: 31.97 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.0112, allocations: 195.4 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.01154, allocations: 151.5 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.01155, allocations: 4 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003898/0.01194, allocations: 169.3 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01195, allocations: 8 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01196, allocations: 4.109 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01197, allocations: 8.109 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01208, allocations: 15.98 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01209, allocations: 12.27 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.0122, allocations: 15.98 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.01222, allocations: 8 kB / 1.007 GB, free: 6.512 MB / 0.9636 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 0.0001363/0.01236, allocations: 148.2 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.01239, allocations: 15.91 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.01244, allocations: 17.47 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.01244, allocations: 4 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01245, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01245, allocations: 3.984 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.01319, allocations: 477.2 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01319, allocations: 0 / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.01327, allocations: 11.98 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01327, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01328, allocations: 4 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01328, allocations: 0 / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01329, allocations: 0 / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.01382, allocations: 330.5 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.01384, allocations: 11.91 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01386, allocations: 4 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.01404, allocations: 19.97 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.0141, allocations: 7.984 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.01413, allocations: 12.03 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001073/0.01424, allocations: 128.2 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01424, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003373/0.01458, allocations: 43.88 kB / 1.008 GB, free: 5.234 MB / 0.9636 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.0006379/0.01522, allocations: 206.9 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.01559, allocations: 99.88 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01559, allocations: 3.938 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.01576, allocations: 52.52 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.01612, allocations: 23.98 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.01667, allocations: 252.4 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.0168, allocations: 102.2 kB / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.077e-05/0.01687, allocations: 24.47 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.01691, allocations: 20.5 kB / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.01691, allocations: 0 / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of Templates: time 0.005825/0.02273, allocations: 1.775 MB / 1.011 GB, free: 2.711 MB / 0.9636 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: 8.773052618838847]