Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 182.7 kB / 371.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.0009886, allocations: 89.61 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.654e-05, allocations: 0 / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.345, allocations: 140.7 MB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.346, allocations: 84.48 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008565/1.354, allocations: 2.981 MB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/1.354, allocations: 0 / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.495e-05/1.354, allocations: 4 kB / 1.12 GB, free: 41.51 MB / 0.7448 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.0006997/1.355, allocations: 0.5113 MB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/1.355, allocations: 12.03 kB / 1.121 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/1.355, allocations: 13.62 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/1.356, allocations: 215.1 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.356, allocations: 7.938 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.356, allocations: 11.27 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/1.356, allocations: 108.3 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.356, allocations: 4.844 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.356, allocations: 0 / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.356, allocations: 0 / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/1.356, allocations: 43.55 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/1.357, allocations: 474.1 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/1.357, allocations: 65.55 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/1.357, allocations: 41.48 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/1.357, allocations: 0 / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/1.357, allocations: 127.1 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/1.357, allocations: 1.922 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002778/1.358, allocations: 114 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.358, allocations: 88.94 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/1.358, allocations: 144.8 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/1.358, allocations: 33.02 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/1.358, allocations: 111.1 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.358, allocations: 26.34 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/1.358, allocations: 4.062 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/1.358, allocations: 324.9 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/1.358, allocations: 27.3 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/1.358, allocations: 97.22 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/1.358, allocations: 35.48 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.358, allocations: 3.938 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001696/1.358, allocations: 133.6 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.358, allocations: 4.625 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/1.358, allocations: 4 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.358, allocations: 4 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.358, allocations: 22.94 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.359, allocations: 4 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/1.359, allocations: 31.22 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.359, allocations: 4 kB / 1.123 GB, free: 38.85 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 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.023e-05/1.359, allocations: 125.5 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.359, allocations: 11.91 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/1.359, allocations: 16.77 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.359, allocations: 2.016 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.359, allocations: 4 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.359, allocations: 0 / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/1.359, allocations: 0.5099 MB / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.359, allocations: 0 / 1.124 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/1.359, allocations: 21.17 kB / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.359, allocations: 0 / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.359, allocations: 6.109 kB / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.359, allocations: 11.89 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.359, allocations: 1.125 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/1.36, allocations: 296.8 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/1.36, allocations: 86.19 kB / 1.124 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/1.36, allocations: 7.953 kB / 1.124 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/1.36, allocations: 26.55 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.36, allocations: 11.33 kB / 1.124 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/1.36, allocations: 11.31 kB / 1.124 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.573e-05/1.36, allocations: 115.8 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.36, allocations: 0 / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003457/1.36, allocations: 42.22 kB / 1.124 GB, free: 37.65 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005425/1.361, allocations: 207.1 kB / 1.124 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001857/1.361, allocations: 76 kB / 1.124 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.361, allocations: 4.188 kB / 1.124 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/1.361, allocations: 34.62 kB / 1.124 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/1.362, allocations: 17.72 kB / 1.124 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/1.362, allocations: 156.1 kB / 1.125 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/1.362, allocations: 0.7244 MB / 1.125 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.418e-05/1.362, allocations: 20.77 kB / 1.125 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/1.362, allocations: 14.75 kB / 1.125 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/1.362, allocations: 0 / 1.125 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.005151/1.367, allocations: 1.629 MB / 1.127 GB, free: 35.59 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)