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.592/1.592, allocations: 288.4 MB / 303.6 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.00101/0.00101, allocations: 190.9 kB / 372.3 MB, free: 10.11 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.326/1.326, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007321/0.0007321, allocations: 90.31 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 13.19 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001388/0.1903, allocations: 1.277 MB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000912/0.1912, allocations: 0.6955 MB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.1913, allocations: 4 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.184e-05/0.1913, allocations: 15.86 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.1914, allocations: 11.81 kB / 0.9821 GB, free: 25.31 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.000337/0.1917, allocations: 95.81 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1919, allocations: 115.6 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.192, allocations: 37.09 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.1921, allocations: 39.84 kB / 0.9824 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.1921, allocations: 51.75 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1921, allocations: 4 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.1922, allocations: 47.95 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.1923, allocations: 19.92 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.1923, allocations: 81.36 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1925, allocations: 115.9 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1925, allocations: 0 / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1925, allocations: 0 / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1925, allocations: 0 / 0.9827 GB, free: 24.71 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.0006272/0.1931, allocations: 0.5236 MB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1932, allocations: 12.03 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1932, allocations: 16.75 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1934, allocations: 224.4 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1934, allocations: 8.375 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1934, allocations: 4.375 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1937, allocations: 147.6 kB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1937, allocations: 0 / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1937, allocations: 0 / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1937, allocations: 3.984 kB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1939, allocations: 83.94 kB / 0.9837 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.1944, allocations: 468.8 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1946, allocations: 93.11 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1947, allocations: 57.8 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1948, allocations: 4 kB / 0.9843 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.195, allocations: 156.9 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.195, allocations: 0 / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004859/0.1955, allocations: 209.8 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1956, allocations: 93.12 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.1957, allocations: 166.2 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1957, allocations: 29.7 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.1957, allocations: 108.4 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1958, allocations: 35.55 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1958, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.1958, allocations: 330.8 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1959, allocations: 43.97 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1961, allocations: 126.2 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.1964, allocations: 163.5 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1964, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003175/0.1967, allocations: 173.5 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1967, allocations: 8 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1967, allocations: 4 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1967, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.1968, allocations: 19.98 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1969, allocations: 7.938 kB / 0.9859 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.197, allocations: 27.95 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.197, allocations: 8 kB / 0.9859 GB, free: 21.07 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.477e-05/0.1971, allocations: 137.8 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1971, allocations: 11.91 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.1971, allocations: 17.39 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1971, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1971, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1971, allocations: 7.938 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1977, allocations: 0.5561 MB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1977, allocations: 0 / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.1978, allocations: 15.98 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1978, allocations: 7.875 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1978, allocations: 4 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1978, allocations: 0 / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1978, allocations: 0 / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1981, allocations: 338.5 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.1982, allocations: 85.02 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1982, allocations: 7.938 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1984, allocations: 24.08 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1984, allocations: 12.2 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.1985, allocations: 15.98 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.1985, allocations: 116.2 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1985, allocations: 3.938 kB / 0.9872 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003034/0.1988, allocations: 47.91 kB / 0.9872 GB, free: 19.59 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.0003142/0.1991, allocations: 201.6 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1995, allocations: 124.2 kB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1995, allocations: 4.062 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1996, allocations: 59.91 kB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2, allocations: 19.98 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.2003, allocations: 266.8 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2005, allocations: 0.716 MB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.2005, allocations: 20.53 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.2006, allocations: 15.44 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2006, allocations: 0 / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.003787/0.2044, allocations: 1.596 MB / 0.9902 GB, free: 16.57 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)