Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.122/2.122, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001311, allocations: 169.7 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008969/0.0008968, allocations: 84.11 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.0006192, allocations: 9.031 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1985, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001852/0.2004, allocations: 1.274 MB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2018, allocations: 0.7025 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.2019, allocations: 7.938 kB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.06e-05/0.202, allocations: 7.922 kB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.2021, allocations: 11.86 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB [/home/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.0004717/0.2026, allocations: 83.84 kB / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.2028, allocations: 131.5 kB / 0.9017 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2029, allocations: 33.11 kB / 0.9017 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.203, allocations: 43.83 kB / 0.9017 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.2031, allocations: 55.7 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2032, allocations: 4 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2033, allocations: 51.89 kB / 0.9018 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.2034, allocations: 19.92 kB / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.2034, allocations: 41.64 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2036, allocations: 107.8 kB / 0.902 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2036, allocations: 4 kB / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2036, allocations: 0 / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2037, allocations: 0 / 0.902 GB, free: 62.93 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.0009492/0.2046, allocations: 0.5353 MB / 0.9025 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.2047, allocations: 12.03 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.2048, allocations: 16.75 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.205, allocations: 216.1 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.205, allocations: 8.375 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.2051, allocations: 4.375 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2055, allocations: 158 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2055, allocations: 0 / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2056, allocations: 0 / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2056, allocations: 4 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.206, allocations: 87.81 kB / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.2068, allocations: 468.8 kB / 0.9035 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.2071, allocations: 93.12 kB / 0.9036 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2073, allocations: 49.81 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.2074, allocations: 4 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.2078, allocations: 157 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.2078, allocations: 0 / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0008822/0.2087, allocations: 209.3 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2088, allocations: 81.11 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2089, allocations: 162.9 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.209, allocations: 33.69 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.209, allocations: 112.3 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.2091, allocations: 27.62 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.2091, allocations: 0 / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.2092, allocations: 334.7 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2094, allocations: 47.95 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2097, allocations: 122.6 kB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2099, allocations: 55.92 kB / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.21, allocations: 0 / 0.9049 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005708/0.2105, allocations: 181.3 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2106, allocations: 11.94 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2106, allocations: 112 / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2106, allocations: 7.938 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2108, allocations: 28.17 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2108, allocations: 3.938 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.211, allocations: 15.98 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.211, allocations: 11.94 kB / 0.9051 GB, free: 59.43 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.0001238/0.2112, allocations: 134.9 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.2112, allocations: 11.89 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.2113, allocations: 17.41 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2113, allocations: 4 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2113, allocations: 4 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.2113, allocations: 92.91 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2114, allocations: 7.938 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2116, allocations: 19.98 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.2117, allocations: 11.98 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007032/0.2124, allocations: 336.2 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000655/0.2131, allocations: 413.8 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002537/0.2133, allocations: 55.89 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.2134, allocations: 123.2 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of Backend: time 1.172e-06/0.2135, allocations: 0 / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.2146, allocations: 238.9 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006878/0.2153, allocations: 0.6987 MB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.006609/0.222, allocations: 1.704 MB / 0.9089 GB, free: 55.53 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)