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.7006/0.7006, allocations: 94.78 MB / 102.3 MB, free: 10.14 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.001173/0.001173, allocations: 180.1 kB / 125.6 MB, free: 11.87 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.115/1.115, allocations: 170.6 MB / 319.4 MB, free: 9.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.001726/0.001726, allocations: 100.2 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.429e-05, allocations: 4 kB / 449.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 61.53 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5636, allocations: 94.4 MB / 0.5908 GB, free: 7.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.5639, allocations: 75.97 kB / 0.5909 GB, free: 7.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008744/0.5727, allocations: 2.745 MB / 0.5936 GB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5727, allocations: 0.6562 kB / 0.5936 GB, free: 4.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.5727, allocations: 4.594 kB / 0.5936 GB, free: 4.789 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.0007319/0.5735, allocations: 0.5167 MB / 0.5941 GB, free: 4.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5735, allocations: 12.03 kB / 0.5941 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.5736, allocations: 15.89 kB / 0.5941 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.5739, allocations: 220 kB / 0.5943 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5739, allocations: 0 / 0.5943 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5739, allocations: 8 kB / 0.5944 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.5741, allocations: 35.86 kB / 0.5944 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5742, allocations: 98.12 kB / 0.5945 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5743, allocations: 4 kB / 0.5945 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.5743, allocations: 4.828 kB / 0.5945 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.5743, allocations: 0 / 0.5945 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.5749, allocations: 439.4 kB / 0.5949 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.5751, allocations: 69.16 kB / 0.595 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.5751, allocations: 25.84 kB / 0.595 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.5752, allocations: 4 kB / 0.595 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.5754, allocations: 121 kB / 0.5951 GB, free: 3.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.5754, allocations: 4 kB / 0.5951 GB, free: 3.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002537/0.5756, allocations: 107.6 kB / 0.5952 GB, free: 2.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5757, allocations: 81.09 kB / 0.5953 GB, free: 2.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5758, allocations: 145 kB / 0.5954 GB, free: 2.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5759, allocations: 25.7 kB / 0.5955 GB, free: 2.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.5759, allocations: 120.2 kB / 0.5956 GB, free: 2.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.576, allocations: 23.7 kB / 0.5956 GB, free: 2.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.576, allocations: 0 / 0.5956 GB, free: 2.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5761, allocations: 322.8 kB / 0.5959 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.5762, allocations: 20 kB / 0.5959 GB, free: 2.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.5763, allocations: 95.97 kB / 0.596 GB, free: 2.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.563e-05/0.5764, allocations: 31.98 kB / 0.5961 GB, free: 2.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5764, allocations: 0 / 0.5961 GB, free: 2.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001957/0.5766, allocations: 133.4 kB / 0.5962 GB, free: 1.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5766, allocations: 4 kB / 0.5962 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.5766, allocations: 4 kB / 0.5962 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5766, allocations: 0 / 0.5962 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5768, allocations: 19.98 kB / 0.5962 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5768, allocations: 4 kB / 0.5962 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.5769, allocations: 16.8 kB / 0.5962 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.5769, allocations: 9 kB / 0.5962 GB, free: 1.832 MB / 410.7 MB Warning: Assuming fixed start value for the following 3 variables: pri2.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri1.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri3.firstTrigger:DISCRETE(fixed = false 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 () * 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.00014/0.5771, allocations: 127.4 kB / 0.5964 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.5771, allocations: 19.77 kB / 0.5964 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.5772, allocations: 13.84 kB / 0.5964 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5772, allocations: 4 kB / 0.5964 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5772, allocations: 3.984 kB / 0.5964 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5772, allocations: 1.406 kB / 0.5964 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.5777, allocations: 479.9 kB / 0.5969 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5777, allocations: 0 / 0.5969 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.5778, allocations: 15.98 kB / 0.5969 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5778, allocations: 1.438 kB / 0.5969 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5778, allocations: 8 kB / 0.5969 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5778, allocations: 0 / 0.5969 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5779, allocations: 4 kB / 0.5969 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.5781, allocations: 302 kB / 0.5972 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.5782, allocations: 88.92 kB / 0.5973 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.5782, allocations: 0 / 0.5973 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.5784, allocations: 23.98 kB / 0.5973 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.5785, allocations: 11.98 kB / 0.5973 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.5785, allocations: 11.98 kB / 0.5973 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.432e-05/0.5786, allocations: 112.3 kB / 0.5974 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5786, allocations: 0 / 0.5974 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00036/0.579, allocations: 36 kB / 0.5974 GB, free: 0.5117 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 () * 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.0004842/0.5795, allocations: 182.3 kB / 0.5976 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.5796, allocations: 68.36 kB / 0.5977 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5797, allocations: 4.125 kB / 0.5977 GB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.5797, allocations: 31.94 kB / 0.5977 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.58, allocations: 23.48 kB / 0.5977 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.5805, allocations: 174 kB / 0.5979 GB, free: 64 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.5808, allocations: 0.7197 MB / 0.5986 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.5809, allocations: 20.53 kB / 0.5986 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.581, allocations: 15.44 kB / 0.5986 GB, free: 15.28 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.581, allocations: 0 / 0.5986 GB, free: 15.28 MB / 426.7 MB Notification: Performance of Templates: time 0.004979/0.586, allocations: 1.503 MB / 0.6001 GB, free: 13.84 MB / 426.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)