Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 180.5 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.684/2.684, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008381/0.0008382, allocations: 90.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 8.656 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001895/0.1949, allocations: 1.281 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1964, allocations: 0.6947 MB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1965, allocations: 4 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.054e-05/0.1966, allocations: 15.86 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.1967, allocations: 7.875 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0004809/0.1972, allocations: 91.81 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1974, allocations: 123.5 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1975, allocations: 37.09 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1977, allocations: 39.84 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.1978, allocations: 55.75 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1978, allocations: 4 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.198, allocations: 47.91 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.198, allocations: 27.89 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.1981, allocations: 45.64 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1983, allocations: 103.8 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1983, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1983, allocations: 0 / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1983, allocations: 4 kB / 0.9016 GB, free: 62.86 MB / 0.6042 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.0009655/0.1993, allocations: 0.5353 MB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1993, allocations: 12.03 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1994, allocations: 20.69 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1996, allocations: 208.2 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1997, allocations: 8.312 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1997, allocations: 12.36 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.2001, allocations: 143.7 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2002, allocations: 0 / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2002, allocations: 0 / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.2002, allocations: 4 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.2006, allocations: 83.88 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.2014, allocations: 480.7 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.2017, allocations: 89.12 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.202, allocations: 53.81 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.202, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.2025, allocations: 153 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.2025, allocations: 0 / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0008818/0.2034, allocations: 209.5 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2034, allocations: 81.11 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2036, allocations: 162.9 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2036, allocations: 33.7 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.2037, allocations: 112.3 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.2037, allocations: 27.61 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.2038, allocations: 0 / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.2038, allocations: 338.7 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2041, allocations: 43.97 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.2043, allocations: 123.2 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2046, allocations: 59.91 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2046, allocations: 4 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005742/0.2052, allocations: 181.4 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2052, allocations: 4 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2053, allocations: 4 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2053, allocations: 4.141 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2055, allocations: 23.92 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2055, allocations: 7.938 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2057, allocations: 28.42 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2057, allocations: 4 kB / 0.9047 GB, free: 59.35 MB / 0.6042 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 0.0001359/0.2059, allocations: 133.8 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2059, allocations: 11.91 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.206, allocations: 29.33 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.206, allocations: 0 / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.206, allocations: 0 / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.206, allocations: 11.94 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.207, allocations: 0.5444 MB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.207, allocations: 0 / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2071, allocations: 15.98 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2072, allocations: 3.938 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2072, allocations: 11.94 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2072, allocations: 0 / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2072, allocations: 0 / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.2078, allocations: 330.5 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.2078, allocations: 93 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.2079, allocations: 3.938 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2082, allocations: 23.98 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.2083, allocations: 11.98 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.2083, allocations: 11.98 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.942e-05/0.2084, allocations: 115.2 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.482e-06/0.2084, allocations: 0 / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004494/0.2089, allocations: 39.84 kB / 0.906 GB, free: 57.88 MB / 0.6042 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.0004537/0.2094, allocations: 208.7 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.21, allocations: 120.2 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.21, allocations: 4.188 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.2103, allocations: 59.91 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2108, allocations: 16.17 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.2113, allocations: 278.8 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2115, allocations: 0.716 MB / 0.9074 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2116, allocations: 20.53 kB / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.2117, allocations: 15.44 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2117, allocations: 0 / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.006298/0.218, allocations: 1.586 MB / 0.909 GB, free: 54.86 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)