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.601/1.601, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001267/0.001267, allocations: 180.8 kB / 366.7 MB, free: 1.672 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.512/1.512, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009492/0.000949, allocations: 95 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.623e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5839, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.7822, allocations: 140 MB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.7826, allocations: 87.88 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.7958, allocations: 2.953 MB / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7959, allocations: 0 / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.7959, allocations: 4.656 kB / 1.113 GB, free: 7.184 MB / 0.7136 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.0009466/0.7969, allocations: 0.5142 MB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.7969, allocations: 9.594 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.7971, allocations: 15.81 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.7974, allocations: 218.8 kB / 1.114 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.7975, allocations: 8 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.7975, allocations: 4.938 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000153/0.7977, allocations: 38.05 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.7979, allocations: 103.4 kB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.798, allocations: 0 / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.798, allocations: 0 / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.798, allocations: 0 / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.7989, allocations: 449.2 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.799, allocations: 69.12 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.7991, allocations: 25.84 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.7992, allocations: 8 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.7994, allocations: 116.8 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.7994, allocations: 0 / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003666/0.7998, allocations: 108.8 kB / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.7999, allocations: 92.98 kB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.8001, allocations: 139.3 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.8001, allocations: 25.7 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.8002, allocations: 112.3 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.8003, allocations: 23.7 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.8003, allocations: 0 / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.8005, allocations: 334.8 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.8005, allocations: 16 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.8007, allocations: 94.31 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.8008, allocations: 31.92 kB / 1.115 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.8008, allocations: 4 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002883/0.8011, allocations: 113.4 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8011, allocations: 5.25 kB / 1.116 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8011, allocations: 4.281 kB / 1.116 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.8012, allocations: 4 kB / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.8013, allocations: 31.91 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.8014, allocations: 6.656 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.8015, allocations: 15.92 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.8016, allocations: 8 kB / 1.116 GB, free: 4.203 MB / 0.7136 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 0.0001249/0.8017, allocations: 120.9 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.8017, allocations: 11.91 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.8018, allocations: 17.83 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8018, allocations: 4 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8018, allocations: 0 / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8019, allocations: 3.938 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.8025, allocations: 478.8 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8025, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.8027, allocations: 19.98 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8027, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.8027, allocations: 7.984 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8027, allocations: 0 / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8027, allocations: 0 / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.8031, allocations: 302.2 kB / 1.117 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.8032, allocations: 85.02 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.8032, allocations: 4 kB / 1.117 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.8035, allocations: 20.11 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.8036, allocations: 23.92 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.8036, allocations: 4 kB / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001145/0.8037, allocations: 119.5 kB / 1.117 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8038, allocations: 4 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005914/0.8044, allocations: 43.89 kB / 1.117 GB, free: 2.867 MB / 0.7136 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.0005837/0.805, allocations: 188 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.8052, allocations: 70.05 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8052, allocations: 4 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.8053, allocations: 32.5 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.8057, allocations: 21.7 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.8063, allocations: 158.8 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.8067, allocations: 0.7126 MB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000117/0.8068, allocations: 28.39 kB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.8069, allocations: 15.44 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.8069, allocations: 0 / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of Templates: time 0.006629/0.8135, allocations: 1.541 MB / 1.119 GB, free: 152 kB / 0.7136 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)