Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001707/0.001707, allocations: 169.3 kB / 326.5 MB, free: 2.719 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.085/2.085, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0009272/0.0009273, allocations: 91.67 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8.844 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001636/0.2145, allocations: 1.309 MB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2156, allocations: 0.7534 MB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.2157, allocations: 3.938 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2158, allocations: 3.938 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.2159, allocations: 19.84 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.0003567/0.2162, allocations: 99.77 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2164, allocations: 131.5 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2165, allocations: 36.97 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.2166, allocations: 47.78 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.2167, allocations: 51.75 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2167, allocations: 4 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2168, allocations: 43.95 kB / 0.8992 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.2169, allocations: 27.84 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.2169, allocations: 55.66 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2171, allocations: 107.8 kB / 0.8994 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2171, allocations: 0 / 0.8994 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2171, allocations: 0 / 0.8994 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2171, allocations: 0 / 0.8994 GB, free: 65.51 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.0006579/0.2177, allocations: 0.5352 MB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2178, allocations: 8.031 kB / 0.8999 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.2178, allocations: 20.75 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.218, allocations: 220 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.218, allocations: 8.375 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2181, allocations: 4.375 kB / 0.9001 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2184, allocations: 147.6 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.2184, allocations: 0 / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2184, allocations: 0 / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2184, allocations: 4 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2186, allocations: 83.88 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.2192, allocations: 468.8 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.2194, allocations: 105 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2195, allocations: 49.92 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2195, allocations: 7.922 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2198, allocations: 157 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2198, allocations: 0 / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005064/0.2203, allocations: 209.3 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2204, allocations: 85.05 kB / 0.9014 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.2205, allocations: 162.9 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2205, allocations: 33.7 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.2206, allocations: 108.3 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2206, allocations: 35.62 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.2206, allocations: 17.72 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.2207, allocations: 330.8 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2208, allocations: 47.97 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.221, allocations: 122.3 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.2212, allocations: 163.5 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2212, allocations: 0 / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003108/0.2215, allocations: 181.4 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2216, allocations: 4 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2216, allocations: 4 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2216, allocations: 4 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.2217, allocations: 19.92 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2217, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.2218, allocations: 28.05 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2218, allocations: 4 kB / 0.9026 GB, free: 61.84 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 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.2219, allocations: 137.7 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.222, allocations: 15.81 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.222, allocations: 17.41 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.222, allocations: 7.938 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.222, allocations: 3.984 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.222, allocations: 7.938 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.2226, allocations: 0.537 MB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2226, allocations: 11.98 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.2227, allocations: 19.98 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2227, allocations: 3.938 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2227, allocations: 0 / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2227, allocations: 4 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2227, allocations: 0 / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.2231, allocations: 334.5 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.2231, allocations: 88.92 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2231, allocations: 11.92 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2233, allocations: 23.98 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2234, allocations: 7.984 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.2234, allocations: 8.281 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.2235, allocations: 119.2 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2235, allocations: 3.938 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003015/0.2238, allocations: 44 kB / 0.904 GB, free: 60.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/0.2241, allocations: 191.8 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.2245, allocations: 120.2 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2245, allocations: 0 / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2247, allocations: 63.89 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.225, allocations: 23.92 kB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.2254, allocations: 309.7 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2256, allocations: 0.716 MB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.2256, allocations: 15.62 kB / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2257, allocations: 0 / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.003386/0.229, allocations: 2.04 MB / 0.9073 GB, free: 56.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)