Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001551/0.001551, allocations: 176.5 kB / 372 MB, free: 10.26 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.6/1.6, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007638/0.0007639, allocations: 89.09 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007249/0.000725, allocations: 10.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2588, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001442/0.2603, allocations: 1.273 MB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2614, allocations: 0.6994 MB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.2615, allocations: 4 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.2616, allocations: 7.875 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.2616, allocations: 11.86 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0004253/0.2621, allocations: 95.77 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2622, allocations: 119.6 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2623, allocations: 33.09 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.2624, allocations: 39.84 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.2625, allocations: 59.73 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2626, allocations: 4 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2627, allocations: 39.92 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.2627, allocations: 27.89 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.2628, allocations: 49.64 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.2629, allocations: 112 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2629, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2629, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2629, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 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.0006523/0.2636, allocations: 0.5273 MB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2636, allocations: 16.02 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.2637, allocations: 15.81 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2638, allocations: 215.2 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2639, allocations: 4 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2639, allocations: 12 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.2642, allocations: 135.3 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2642, allocations: 0 / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2642, allocations: 0 / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2642, allocations: 4 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.2645, allocations: 79.94 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.265, allocations: 480.6 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2652, allocations: 93.12 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2654, allocations: 53.81 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.2654, allocations: 7.984 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.2657, allocations: 152.9 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.2657, allocations: 0 / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005319/0.2662, allocations: 213.8 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2663, allocations: 89.03 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.2664, allocations: 154.4 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2664, allocations: 33.8 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.2665, allocations: 116.2 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.2665, allocations: 31.62 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.2665, allocations: 0 / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.2666, allocations: 326.8 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2667, allocations: 47.97 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2669, allocations: 126.2 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.267, allocations: 51.97 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.267, allocations: 0 / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003244/0.2674, allocations: 181.2 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2674, allocations: 9.719 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2674, allocations: 240 / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2674, allocations: 12.17 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2675, allocations: 23.98 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2676, allocations: 4 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.667e-05/0.2677, allocations: 19.98 kB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2677, allocations: 7.984 kB / 0.9852 GB, free: 21.57 MB / 0.6198 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 () * 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 8.939e-05/0.2678, allocations: 133.8 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.2678, allocations: 15.81 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.2678, allocations: 29.39 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2679, allocations: 0 / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2679, allocations: 3.953 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2679, allocations: 0 / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.2684, allocations: 0.5522 MB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2684, allocations: 0 / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.2685, allocations: 15.98 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2685, allocations: 3.953 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2686, allocations: 8 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2686, allocations: 4 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2686, allocations: 0 / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.2689, allocations: 338.5 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.269, allocations: 88.92 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.269, allocations: 3.953 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2691, allocations: 19.98 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.2692, allocations: 11.98 kB / 0.9864 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.2692, allocations: 16.08 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.2693, allocations: 124.2 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2693, allocations: 0 / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000312/0.2696, allocations: 36 kB / 0.9865 GB, free: 20.09 MB / 0.6198 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 (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.0003224/0.27, allocations: 200.5 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.2703, allocations: 127.9 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2703, allocations: 0 / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.2705, allocations: 55.97 kB / 0.9869 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2708, allocations: 25.39 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.2712, allocations: 270.8 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2714, allocations: 0.7158 MB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.2715, allocations: 20.53 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.2715, allocations: 19.44 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2715, allocations: 0 / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.004089/0.2756, allocations: 1.582 MB / 0.9895 GB, free: 17.08 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)