Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5607/0.5607, allocations: 95.62 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001083/0.001083, allocations: 171.3 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.471/1.471, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001675/0.001675, allocations: 117.9 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004289, allocations: 11.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 61.52 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.6287, allocations: 95.17 MB / 0.6049 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.629, allocations: 80.56 kB / 0.605 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008673/0.6377, allocations: 2.781 MB / 0.6077 GB, free: 9.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6377, allocations: 0 / 0.6077 GB, free: 9.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.6378, allocations: 4 kB / 0.6077 GB, free: 9.711 MB / 410.7 MB 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.0007849/0.6386, allocations: 0.5309 MB / 0.6082 GB, free: 9.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6386, allocations: 15.98 kB / 0.6082 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.6387, allocations: 15.81 kB / 0.6082 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.6389, allocations: 215.3 kB / 0.6084 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.639, allocations: 11.31 kB / 0.6085 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.639, allocations: 8 kB / 0.6085 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.6393, allocations: 130.3 kB / 0.6086 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6393, allocations: 0 / 0.6086 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.6394, allocations: 4 kB / 0.6086 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6394, allocations: 4 kB / 0.6086 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.6396, allocations: 90.11 kB / 0.6087 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.6403, allocations: 471.8 kB / 0.6091 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.6405, allocations: 95.23 kB / 0.6092 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.6405, allocations: 4 kB / 0.6092 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.6408, allocations: 144.5 kB / 0.6094 GB, free: 7.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6408, allocations: 0 / 0.6094 GB, free: 7.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005636/0.6414, allocations: 218.2 kB / 0.6096 GB, free: 7.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.6414, allocations: 81.11 kB / 0.6096 GB, free: 7.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.6416, allocations: 143.8 kB / 0.6098 GB, free: 7.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6416, allocations: 41.12 kB / 0.6098 GB, free: 7.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.6417, allocations: 112.5 kB / 0.6099 GB, free: 7.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.6417, allocations: 27.02 kB / 0.61 GB, free: 7.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.6417, allocations: 3.25 kB / 0.61 GB, free: 7.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6419, allocations: 325.6 kB / 0.6103 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.642, allocations: 35.22 kB / 0.6103 GB, free: 6.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.6422, allocations: 127.6 kB / 0.6104 GB, free: 6.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.6424, allocations: 58.36 kB / 0.6105 GB, free: 6.773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6424, allocations: 0 / 0.6105 GB, free: 6.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003881/0.6428, allocations: 185.5 kB / 0.6107 GB, free: 6.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6428, allocations: 9.719 kB / 0.6107 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6428, allocations: 4.094 kB / 0.6107 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6428, allocations: 7.938 kB / 0.6107 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.6429, allocations: 23.3 kB / 0.6107 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.643, allocations: 0 / 0.6107 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6431, allocations: 20.11 kB / 0.6107 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.6431, allocations: 11.44 kB / 0.6107 GB, free: 6.543 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: pri2.firstTrigger:DISCRETE(fixed = true protected = true ) "Rising edge signals first sample instant" type: Boolean pri1.firstTrigger:DISCRETE(fixed = true protected = true ) "Rising edge signals first sample instant" type: Boolean pri3.firstTrigger:DISCRETE(fixed = true protected = true ) "Rising edge signals first sample instant" type: Boolean 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.6433, allocations: 139.8 kB / 0.6109 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.6433, allocations: 23.05 kB / 0.6109 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.6434, allocations: 12.53 kB / 0.6109 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6434, allocations: 0 / 0.6109 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6434, allocations: 4 kB / 0.6109 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6434, allocations: 7.984 kB / 0.6109 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.6442, allocations: 0.5488 MB / 0.6114 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6443, allocations: 0 / 0.6114 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.6443, allocations: 15.98 kB / 0.6115 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6444, allocations: 3.984 kB / 0.6115 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6444, allocations: 4 kB / 0.6115 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6444, allocations: 0 / 0.6115 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6444, allocations: 3.938 kB / 0.6115 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.6449, allocations: 350.3 kB / 0.6118 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.6449, allocations: 89.11 kB / 0.6119 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.645, allocations: 7.984 kB / 0.6119 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.6452, allocations: 27.73 kB / 0.6119 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.6452, allocations: 7.984 kB / 0.6119 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.6453, allocations: 11.98 kB / 0.6119 GB, free: 5.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.6454, allocations: 128.8 kB / 0.6121 GB, free: 5.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6454, allocations: 0 / 0.6121 GB, free: 5.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.6457, allocations: 35.25 kB / 0.6121 GB, free: 5.148 MB / 410.7 MB 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 (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.0004523/0.6462, allocations: 204.3 kB / 0.6123 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.6466, allocations: 121.8 kB / 0.6124 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6466, allocations: 0 / 0.6124 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.6468, allocations: 58.83 kB / 0.6125 GB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.647, allocations: 17.73 kB / 0.6125 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.6475, allocations: 275.4 kB / 0.6127 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.6478, allocations: 0.716 MB / 0.6134 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.6479, allocations: 20.53 kB / 0.6135 GB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.648, allocations: 15.44 kB / 0.6135 GB, free: 3.746 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.648, allocations: 0 / 0.6135 GB, free: 3.746 MB / 410.7 MB Notification: Performance of Templates: time 0.004722/0.6527, allocations: 1.584 MB / 0.615 GB, free: 2.176 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)