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.001039/0.001039, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001184/0.001184, allocations: 161 kB / 24.16 MB, free: 328 kB / 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.002/1.002, allocations: 177.2 MB / 204.6 MB, free: 5.457 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.982/1.982, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.783e-06/1.783e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.268e-05, allocations: 3.094 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.003163/0.003196, allocations: 1.686 MB / 0.7768 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.00453, allocations: 0.7637 MB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.004587, allocations: 0 / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.004715, allocations: 20.78 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.004787, allocations: 19.8 kB / 0.7776 GB, free: 2.918 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.0004853/0.005272, allocations: 112.3 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.005494, allocations: 143.2 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.005632, allocations: 33.86 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.005779, allocations: 75.86 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005886, allocations: 55.8 kB / 0.778 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.005914, allocations: 8 kB / 0.778 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.006066, allocations: 47.97 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.006123, allocations: 31.89 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.006183, allocations: 39.91 kB / 0.7781 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.00643, allocations: 155.4 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006433, allocations: 3.938 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.224e-06/0.006435, allocations: 7.062 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.00644, allocations: 0 / 0.7783 GB, free: 2.23 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.0006856/0.007125, allocations: 453.2 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.007165, allocations: 10.09 kB / 0.7787 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.007218, allocations: 20.92 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.007411, allocations: 154.8 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.007426, allocations: 8.375 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.007444, allocations: 8.375 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.007649, allocations: 115.1 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007658, allocations: 192 / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007672, allocations: 4.953 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.00768, allocations: 3.938 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.007717, allocations: 12.91 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.008141, allocations: 300 kB / 0.7793 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.008221, allocations: 46.95 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.008258, allocations: 25.78 kB / 0.7794 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.008277, allocations: 3.938 kB / 0.7794 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.008434, allocations: 107.8 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.008435, allocations: 0.6875 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001931/0.008628, allocations: 86.22 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.008674, allocations: 85.09 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.008781, allocations: 160.4 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.008802, allocations: 29.7 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.008854, allocations: 104.3 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.008892, allocations: 31.81 kB / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.008945, allocations: 29.7 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.009061, allocations: 331.4 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.009085, allocations: 8.562 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.009195, allocations: 171.4 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.009306, allocations: 101.7 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009309, allocations: 0.5625 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001551/0.009464, allocations: 107.3 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.009479, allocations: 9.438 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009484, allocations: 0 / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.009499, allocations: 4 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.009576, allocations: 11.98 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.009592, allocations: 8.688 kB / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.00966, allocations: 13 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.009672, allocations: 8 kB / 0.7807 GB, free: 15.43 MB / 0.7448 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 9.362e-05/0.009766, allocations: 124.7 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.009791, allocations: 16.42 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.009837, allocations: 18 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.00984, allocations: 5.172 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009843, allocations: 3.984 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.009848, allocations: 7.922 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01021, allocations: 338.8 kB / 0.7812 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01022, allocations: 4 kB / 0.7812 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.01027, allocations: 13.58 kB / 0.7812 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01027, allocations: 4 kB / 0.7813 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01028, allocations: 0 / 0.7813 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01028, allocations: 4 kB / 0.7813 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01029, allocations: 4.969 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01049, allocations: 254.6 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.0105, allocations: 11.91 kB / 0.7815 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01052, allocations: 4.938 kB / 0.7815 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.01067, allocations: 14.67 kB / 0.7815 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.01073, allocations: 11.98 kB / 0.7815 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.01076, allocations: 7.984 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.0108, allocations: 39.33 kB / 0.7816 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0108, allocations: 3.938 kB / 0.7816 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002004/0.011, allocations: 39.92 kB / 0.7816 GB, free: 14.47 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.0006194/0.01162, allocations: 202.1 kB / 0.7818 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01173, allocations: 53.66 kB / 0.7819 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.01173, allocations: 0.9688 kB / 0.7819 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.01177, allocations: 32.78 kB / 0.7819 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.01197, allocations: 25.17 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.0123, allocations: 253.1 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.01234, allocations: 75.33 kB / 0.7822 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01238, allocations: 18.3 kB / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.01244, allocations: 71.36 kB / 0.7823 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01245, allocations: 1.594 kB / 0.7823 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.003552/0.016, allocations: 1.904 MB / 0.7842 GB, free: 12 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.154824333731085]