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.001011/0.001011, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.00109/0.00109, allocations: 165.5 kB / 24.96 MB, free: 8.129 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.9831/0.9831, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.922/1.922, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.242e-06/1.242e-06, allocations: 0 / 0.7759 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.99e-05, allocations: 3.219 kB / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002006/0.002026, allocations: 1.688 MB / 0.7776 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.003009, allocations: 0.7515 MB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.003058, allocations: 6.438 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.003159, allocations: 16.45 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.00321, allocations: 20.11 kB / 0.7784 GB, free: 2.949 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.0003524/0.003562, allocations: 108.7 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.003711, allocations: 145.4 kB / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.003807, allocations: 30.5 kB / 0.7786 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.0039, allocations: 75.8 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.00397, allocations: 53 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.003988, allocations: 8 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.004091, allocations: 51.95 kB / 0.7788 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.004131, allocations: 33.56 kB / 0.7788 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.004171, allocations: 43.91 kB / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004339, allocations: 155.4 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.004341, allocations: 0 / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004342, allocations: 0.75 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.004345, allocations: 0 / 0.779 GB, free: 2.266 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.0004545/0.0048, allocations: 461.1 kB / 0.7795 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.004828, allocations: 9.344 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.004862, allocations: 20.92 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.00533, allocations: 157.6 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00534, allocations: 4.375 kB / 0.7797 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.005354, allocations: 8.375 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.005498, allocations: 111 kB / 0.7798 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005505, allocations: 4.125 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005516, allocations: 8.359 kB / 0.7798 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.005523, allocations: 7.938 kB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.005549, allocations: 11.98 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.005832, allocations: 287.1 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.411e-05/0.005886, allocations: 49.2 kB / 0.7801 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.005908, allocations: 26.64 kB / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.005929, allocations: 7.938 kB / 0.7802 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.006037, allocations: 109.5 kB / 0.7803 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.006038, allocations: 0 / 0.7803 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000144/0.006182, allocations: 93.52 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.006217, allocations: 82.23 kB / 0.7804 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.006291, allocations: 158.6 kB / 0.7806 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.006305, allocations: 25.7 kB / 0.7806 GB, free: 492 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.006341, allocations: 113.3 kB / 0.7807 GB, free: 372 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.006366, allocations: 19.84 kB / 0.7807 GB, free: 352 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.0064, allocations: 37.69 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.006478, allocations: 327.3 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.006494, allocations: 12.61 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.006562, allocations: 159.4 kB / 0.7812 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.006633, allocations: 101.7 kB / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006636, allocations: 5.594 kB / 0.7813 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.185e-05/0.006728, allocations: 102.2 kB / 0.7814 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.00674, allocations: 8.938 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006744, allocations: 0 / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006756, allocations: 4.5 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.006816, allocations: 16.86 kB / 0.7815 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.00682, allocations: 3.938 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.006863, allocations: 20.55 kB / 0.7815 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.006871, allocations: 4 kB / 0.7815 GB, free: 15.46 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 6.533e-05/0.006936, allocations: 121.2 kB / 0.7816 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.006956, allocations: 24.64 kB / 0.7816 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.006988, allocations: 17.45 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.006991, allocations: 5.062 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.006993, allocations: 0 / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.006997, allocations: 4.875 kB / 0.7817 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.007249, allocations: 349.8 kB / 0.782 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00725, allocations: 0 / 0.782 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.007282, allocations: 9.312 kB / 0.782 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.007285, allocations: 3.984 kB / 0.782 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007291, allocations: 288 / 0.782 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007292, allocations: 4.469 kB / 0.782 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007293, allocations: 4 kB / 0.782 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007401, allocations: 255.8 kB / 0.7823 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007412, allocations: 11.91 kB / 0.7823 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.007423, allocations: 4 kB / 0.7823 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.007502, allocations: 16.89 kB / 0.7823 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.007531, allocations: 8.703 kB / 0.7823 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.007554, allocations: 11.98 kB / 0.7823 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.007581, allocations: 40 kB / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007581, allocations: 0 / 0.7824 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001894/0.00777, allocations: 36.75 kB / 0.7824 GB, free: 14.5 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.000365/0.008136, allocations: 216.6 kB / 0.7826 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.00824, allocations: 58.36 kB / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.008243, allocations: 0 / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.008282, allocations: 36.77 kB / 0.7827 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008468, allocations: 24.11 kB / 0.7827 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.008781, allocations: 258.2 kB / 0.783 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.893e-05/0.008819, allocations: 63.34 kB / 0.783 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.008859, allocations: 23.5 kB / 0.783 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.00892, allocations: 67.38 kB / 0.7831 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.008921, allocations: 0 / 0.7831 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003572/0.01249, allocations: 1.898 MB / 0.785 GB, free: 12.03 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.874465917237103]