Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.023/2.023, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 202 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 104.5 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 50.12 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002644/0.2172, allocations: 1.639 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2183, allocations: 0.6906 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.2184, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.2185, allocations: 15.92 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.2186, allocations: 15.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0003873/0.219, allocations: 87.84 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2191, allocations: 135.5 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2193, allocations: 33.11 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.2193, allocations: 55.77 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.2194, allocations: 51.77 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.2195, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.2196, allocations: 51.95 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.2196, allocations: 27.84 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.2197, allocations: 55.72 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2199, allocations: 161.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2199, allocations: 11.88 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2199, allocations: 4 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2199, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 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.0007135/0.2207, allocations: 0.5312 MB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2207, allocations: 11.98 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.2208, allocations: 20.83 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2209, allocations: 233.4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2209, allocations: 4.375 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.221, allocations: 12.38 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2212, allocations: 127.6 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2212, allocations: 8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2213, allocations: 3.984 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2213, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.2215, allocations: 67.94 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.222, allocations: 464.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2222, allocations: 85.17 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2223, allocations: 45.75 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2223, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.2226, allocations: 141 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2226, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.000472/0.2231, allocations: 193.3 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2231, allocations: 85.11 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.2232, allocations: 158.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2232, allocations: 29.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.2233, allocations: 116.4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2233, allocations: 27.64 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.2234, allocations: 37.7 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.2234, allocations: 330.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2235, allocations: 35.97 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2237, allocations: 118.2 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2239, allocations: 147.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2239, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002963/0.2242, allocations: 165.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2242, allocations: 4.375 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2243, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2243, allocations: 240 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.2244, allocations: 15.98 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2244, allocations: 7.938 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2245, allocations: 24.11 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2245, allocations: 8 kB / 1.224 GB, free: 110.6 MB / 0.823 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 7.985e-05/0.2246, allocations: 143.2 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.2246, allocations: 15.81 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.2247, allocations: 17.39 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2247, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2247, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2247, allocations: 3.938 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.2252, allocations: 0.5328 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2252, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.2253, allocations: 11.98 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2253, allocations: 7.938 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2253, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2253, allocations: 3.938 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2253, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.2259, allocations: 0.9338 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.2259, allocations: 92.92 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2259, allocations: 11.98 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2261, allocations: 11.98 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2261, allocations: 15.98 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.2262, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.2262, allocations: 124.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2262, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000396/0.2266, allocations: 36 kB / 1.226 GB, free: 108.5 MB / 0.823 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.0003325/0.227, allocations: 213.7 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.2273, allocations: 111.7 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2273, allocations: 0.5625 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2274, allocations: 59.89 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2277, allocations: 15.98 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.2282, allocations: 416.2 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2283, allocations: 0.7236 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6e-05/0.2284, allocations: 24.62 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.2284, allocations: 11.44 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.2284, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of Templates: time 0.003811/0.2322, allocations: 1.708 MB / 1.229 GB, free: 105.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)