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.777/1.777, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.001333/0.001333, allocations: 189 kB / 371.9 MB, free: 10.3 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.656/1.656, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008689/0.0008688, allocations: 110.2 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 18.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2204, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001865/0.2223, allocations: 1.269 MB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2236, allocations: 0.6957 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.2237, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2238, allocations: 15.88 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.2239, allocations: 15.97 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.2243, allocations: 91.75 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2245, allocations: 87.83 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2246, allocations: 29.09 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.2247, allocations: 47.78 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.2248, allocations: 51.75 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2248, allocations: 4 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.2249, allocations: 35.91 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.2249, allocations: 27.91 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.225, allocations: 41.64 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2251, allocations: 112 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2251, allocations: 3.938 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2251, allocations: 0 / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2252, allocations: 4 kB / 0.9819 GB, free: 25.18 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.0007319/0.2259, allocations: 0.5311 MB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2259, allocations: 12.02 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.226, allocations: 15.81 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2262, allocations: 207.3 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2262, allocations: 8 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2263, allocations: 11.94 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2266, allocations: 135.3 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2266, allocations: 4 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2266, allocations: 8 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2266, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2269, allocations: 83.94 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.2274, allocations: 476.6 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.2276, allocations: 97.09 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2276, allocations: 4 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.2279, allocations: 153 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.2279, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005167/0.2285, allocations: 217.4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2285, allocations: 77.11 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.2286, allocations: 162.4 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2286, allocations: 29.7 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2287, allocations: 108.3 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2287, allocations: 35.62 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.2287, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2288, allocations: 322.8 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2289, allocations: 43.97 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.2291, allocations: 126.2 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2292, allocations: 59.97 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2292, allocations: 0 / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003088/0.2295, allocations: 177.2 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2295, allocations: 6.031 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2296, allocations: 4.375 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2296, allocations: 8.219 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2297, allocations: 27.92 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2297, allocations: 4 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.2298, allocations: 23.92 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2298, allocations: 4.109 kB / 0.9849 GB, free: 21.75 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 0.0001078/0.2299, allocations: 133.7 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.23, allocations: 23.81 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.23, allocations: 17.39 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.23, allocations: 0 / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.23, allocations: 7.953 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.23, allocations: 0 / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.2306, allocations: 0.5522 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2306, allocations: 0 / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.2307, allocations: 15.98 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2307, allocations: 7.953 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2307, allocations: 0 / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2307, allocations: 4 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2307, allocations: 0 / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.231, allocations: 344.3 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.2311, allocations: 92.88 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2311, allocations: 4.281 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2313, allocations: 23.97 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2313, allocations: 19.92 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.2314, allocations: 8 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.2314, allocations: 124.2 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2314, allocations: 0 / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003233/0.2318, allocations: 39.98 kB / 0.9863 GB, free: 20.25 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.0003261/0.2321, allocations: 196.3 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.2324, allocations: 123.8 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2324, allocations: 3.938 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2326, allocations: 64.52 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2328, allocations: 12 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.2332, allocations: 270.7 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2333, allocations: 0.7236 MB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.989e-05/0.2334, allocations: 24.53 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.2334, allocations: 15.44 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2334, allocations: 3.938 kB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.003788/0.2372, allocations: 1.578 MB / 0.9892 GB, free: 17.23 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)