Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001543/0.001542, allocations: 186.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001137/0.001137, allocations: 93.83 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 10.38 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001835/0.2128, allocations: 1.269 MB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2143, allocations: 0.6958 MB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.2144, allocations: 4 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.377e-05/0.2145, allocations: 7.938 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.2146, allocations: 27.89 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.2151, allocations: 83.77 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2153, allocations: 87.83 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2154, allocations: 25.11 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.2155, allocations: 51.77 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.2156, allocations: 51.75 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2156, allocations: 8 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2158, allocations: 35.91 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.2158, allocations: 23.91 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.2159, allocations: 45.64 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2161, allocations: 108 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2161, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2161, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2161, allocations: 0 / 0.9806 GB, free: 25.84 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.0009312/0.2171, allocations: 0.5311 MB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2171, allocations: 12.02 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.2172, allocations: 15.81 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2174, allocations: 214.8 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2175, allocations: 8 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.2175, allocations: 7.938 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.2179, allocations: 136.2 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.218, allocations: 0 / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.218, allocations: 8 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.218, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.2184, allocations: 83.94 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.2192, allocations: 480.6 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.2196, allocations: 93.09 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2196, allocations: 11.94 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.22, allocations: 156.9 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.504e-06/0.2201, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0008527/0.2209, allocations: 213.4 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.221, allocations: 77.11 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2211, allocations: 162.9 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.2212, allocations: 33.69 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.2212, allocations: 112.3 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.2213, allocations: 23.66 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.2213, allocations: 4 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.2214, allocations: 322.8 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2216, allocations: 51.95 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.2219, allocations: 122.2 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.2221, allocations: 55.97 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2221, allocations: 0 / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005702/0.2227, allocations: 177.2 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2227, allocations: 7.984 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2228, allocations: 4 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2228, allocations: 8.234 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.223, allocations: 23.92 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.223, allocations: 4 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2232, allocations: 19.98 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2232, allocations: 4 kB / 0.9837 GB, free: 22.4 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.0001244/0.2233, allocations: 133.8 kB / 0.9838 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2234, allocations: 23.91 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.2234, allocations: 17.34 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2234, allocations: 7.953 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2235, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2235, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.2244, allocations: 0.5525 MB / 0.9844 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2244, allocations: 4 kB / 0.9844 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.2246, allocations: 20.03 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2246, allocations: 7.938 kB / 0.9844 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2246, allocations: 3.984 kB / 0.9844 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2246, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2246, allocations: 4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.2252, allocations: 344.3 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.2253, allocations: 89.2 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.2253, allocations: 4 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.2256, allocations: 23.97 kB / 0.9849 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.2257, allocations: 11.98 kB / 0.9849 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.2257, allocations: 11.98 kB / 0.9849 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.068e-05/0.2258, allocations: 128.2 kB / 0.985 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2258, allocations: 0 / 0.985 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004814/0.2263, allocations: 39.98 kB / 0.9851 GB, free: 20.89 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.0004872/0.2268, allocations: 200.7 kB / 0.9853 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.2274, allocations: 115.9 kB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2274, allocations: 7.938 kB / 0.9854 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.2277, allocations: 60.52 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.228, allocations: 15.95 kB / 0.9855 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.2286, allocations: 270.7 kB / 0.9857 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2288, allocations: 0.716 MB / 0.9864 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2289, allocations: 24.72 kB / 0.9864 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.229, allocations: 15.44 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.229, allocations: 3.938 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.006213/0.2352, allocations: 1.571 MB / 0.988 GB, free: 17.89 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)