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.001281/0.001281, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.004605/0.004605, allocations: 166.1 kB / 24.38 MB, free: 8.492 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.8874/0.8874, allocations: 177.2 MB / 204.8 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.895/1.895, allocations: 389.6 MB / 0.6357 GB, free: 12.2 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.693e-06/1.693e-06, allocations: 0 / 0.7755 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.524e-05, allocations: 2.938 kB / 0.7755 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002829/0.002854, allocations: 1.69 MB / 0.7772 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004218, allocations: 0.7563 MB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.004287, allocations: 4 kB / 0.7779 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.004409, allocations: 11.81 kB / 0.7779 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.004476, allocations: 20.64 kB / 0.778 GB, free: 2.723 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.0004884/0.004964, allocations: 109.9 kB / 0.7781 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.005182, allocations: 146.9 kB / 0.7782 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.00531, allocations: 25.88 kB / 0.7782 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.005445, allocations: 79.8 kB / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.005536, allocations: 52.73 kB / 0.7784 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.005559, allocations: 8 kB / 0.7784 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.005697, allocations: 52.45 kB / 0.7784 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.005749, allocations: 32.64 kB / 0.7785 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.005798, allocations: 35.92 kB / 0.7785 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006021, allocations: 157.7 kB / 0.7786 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006025, allocations: 7.938 kB / 0.7786 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006026, allocations: 0 / 0.7786 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.006031, allocations: 0 / 0.7786 GB, free: 2.039 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.0005734/0.006605, allocations: 452 kB / 0.7791 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.006638, allocations: 9.344 kB / 0.7791 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.006682, allocations: 20.86 kB / 0.7791 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.006851, allocations: 161.5 kB / 0.7793 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.006867, allocations: 8.375 kB / 0.7793 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.006886, allocations: 7.156 kB / 0.7793 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.007067, allocations: 110.2 kB / 0.7794 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.007077, allocations: 192 / 0.7794 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.007091, allocations: 4.359 kB / 0.7794 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.007099, allocations: 11.88 kB / 0.7794 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.007131, allocations: 8 kB / 0.7794 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.007501, allocations: 296.9 kB / 0.7797 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.007571, allocations: 53.17 kB / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.007601, allocations: 21.84 kB / 0.7798 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.00762, allocations: 9.156 kB / 0.7798 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.007749, allocations: 107.8 kB / 0.7799 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.00775, allocations: 0.6562 kB / 0.7799 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000169/0.007919, allocations: 85.53 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.007968, allocations: 90.22 kB / 0.78 GB, free: 468 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.008066, allocations: 155.6 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.008186, allocations: 33.7 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.008233, allocations: 105 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.008268, allocations: 32.27 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.008318, allocations: 37.69 kB / 0.7804 GB, free: 72 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.008419, allocations: 327.6 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.008439, allocations: 8 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.008547, allocations: 219.9 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.221e-05/0.008639, allocations: 92.55 kB / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.008642, allocations: 0 / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001293/0.008771, allocations: 104 kB / 0.7811 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008787, allocations: 4 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.008794, allocations: 4 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.008805, allocations: 1.188 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.008884, allocations: 19.92 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008887, allocations: 0 / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.008943, allocations: 16.94 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.008968, allocations: 11.98 kB / 0.7812 GB, free: 15.18 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 9.642e-05/0.009065, allocations: 121.2 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.009088, allocations: 25.52 kB / 0.7813 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.009134, allocations: 21.45 kB / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009137, allocations: 0 / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.009139, allocations: 0 / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.009144, allocations: 5.5 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.009465, allocations: 345.8 kB / 0.7817 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009468, allocations: 0 / 0.7817 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.009517, allocations: 11.94 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.00952, allocations: 1.25 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009531, allocations: 7.984 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009532, allocations: 0 / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009534, allocations: 0.8438 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.00968, allocations: 250.7 kB / 0.7819 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.009695, allocations: 13.06 kB / 0.7819 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.009708, allocations: 0 / 0.7819 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.00983, allocations: 17.02 kB / 0.7819 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.009869, allocations: 12.16 kB / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.009889, allocations: 7.984 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.009933, allocations: 47.62 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009933, allocations: 0 / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002206/0.01015, allocations: 39.94 kB / 0.782 GB, free: 14.23 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.0003929/0.01055, allocations: 210.4 kB / 0.7822 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01065, allocations: 65.47 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.01065, allocations: 1.938 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.01069, allocations: 28.73 kB / 0.7823 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01089, allocations: 28.09 kB / 0.7824 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.01121, allocations: 250.9 kB / 0.7826 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.01125, allocations: 71.83 kB / 0.7827 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.975e-05/0.01129, allocations: 20.42 kB / 0.7827 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.01136, allocations: 71.36 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01136, allocations: 2.312 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.00388/0.01524, allocations: 2.012 MB / 0.7847 GB, free: 11.64 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 & (cd run_cvode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.022456018254161]