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.596/1.596, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009808/0.0009808, allocations: 178.6 kB / 372.9 MB, free: 10.1 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.493/1.493, allocations: 205.4 MB / 0.6316 GB, free: 9.875 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.0007292/0.0007294, allocations: 92.19 kB / 0.745 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003739, allocations: 14.89 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001791/0.1964, allocations: 1.273 MB / 0.982 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1975, allocations: 0.6994 MB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.1975, allocations: 0 / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-05/0.1977, allocations: 11.92 kB / 0.9827 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.1977, allocations: 15.8 kB / 0.9827 GB, free: 25.3 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.0004088/0.1981, allocations: 83.84 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1983, allocations: 127.5 kB / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1984, allocations: 33.11 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.1985, allocations: 43.84 kB / 0.983 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.1986, allocations: 51.75 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1986, allocations: 4 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.1987, allocations: 47.95 kB / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.1987, allocations: 19.92 kB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.1988, allocations: 89.34 kB / 0.9832 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1989, allocations: 104 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1989, allocations: 0 / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1989, allocations: 0 / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1989, allocations: 0 / 0.9833 GB, free: 24.7 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.0006459/0.1996, allocations: 0.5351 MB / 0.9838 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1996, allocations: 8.031 kB / 0.9838 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1997, allocations: 16.75 kB / 0.9838 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1999, allocations: 216.4 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1999, allocations: 8.359 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1999, allocations: 16.38 kB / 0.984 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2002, allocations: 135.6 kB / 0.9842 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2002, allocations: 0 / 0.9842 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2002, allocations: 8 kB / 0.9842 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2002, allocations: 0 / 0.9842 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2004, allocations: 79.94 kB / 0.9843 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.2009, allocations: 480.7 kB / 0.9847 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2011, allocations: 93.12 kB / 0.9848 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2012, allocations: 53.81 kB / 0.9849 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2013, allocations: 0 / 0.9849 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.2015, allocations: 156.9 kB / 0.985 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.2015, allocations: 0 / 0.985 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004705/0.202, allocations: 209.4 kB / 0.9852 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.202, allocations: 81.22 kB / 0.9853 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.2021, allocations: 170.2 kB / 0.9854 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2022, allocations: 33.7 kB / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2022, allocations: 104.4 kB / 0.9856 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2022, allocations: 31.55 kB / 0.9856 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2022, allocations: 8 kB / 0.9856 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.2023, allocations: 330.8 kB / 0.9859 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2024, allocations: 43.97 kB / 0.986 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2025, allocations: 126.2 kB / 0.9861 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.2028, allocations: 163.5 kB / 0.9862 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2028, allocations: 0 / 0.9862 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002892/0.2031, allocations: 177.5 kB / 0.9864 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2031, allocations: 4 kB / 0.9864 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2031, allocations: 4 kB / 0.9864 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2031, allocations: 4 kB / 0.9864 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.2032, allocations: 16.36 kB / 0.9864 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2032, allocations: 12.09 kB / 0.9865 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.2033, allocations: 23.89 kB / 0.9865 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2034, allocations: 7.938 kB / 0.9865 GB, free: 21.06 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 7.156e-05/0.2034, allocations: 139.3 kB / 0.9866 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.2035, allocations: 11.91 kB / 0.9866 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2035, allocations: 17.41 kB / 0.9866 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2035, allocations: 3.984 kB / 0.9867 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2035, allocations: 4 kB / 0.9867 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.2035, allocations: 92.92 kB / 0.9867 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2036, allocations: 3.938 kB / 0.9867 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.2037, allocations: 27.98 kB / 0.9868 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2037, allocations: 15.91 kB / 0.9868 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003636/0.2041, allocations: 320.1 kB / 0.9871 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003205/0.2044, allocations: 417.7 kB / 0.9875 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001303/0.2046, allocations: 60.17 kB / 0.9875 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.2046, allocations: 120.2 kB / 0.9877 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of Backend: time 3.51e-07/0.2046, allocations: 0 / 0.9877 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.2054, allocations: 250.2 kB / 0.9879 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004161/0.2058, allocations: 0.6986 MB / 0.9886 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.00381/0.2096, allocations: 1.726 MB / 0.9903 GB, free: 17.14 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)