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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007189/0.007189, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 195.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 77.77 kB / 0.7257 GB, free: 9.164 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2093, allocations: 104.7 MB / 0.828 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002869/0.2122, allocations: 1.578 MB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2136, allocations: 0.7488 MB / 0.8303 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.2137, allocations: 0 / 0.8303 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2138, allocations: 11.81 kB / 0.8303 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.2139, allocations: 23.78 kB / 0.8303 GB, free: 13.96 MB / 0.6544 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.0004938/0.2144, allocations: 115.7 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.2146, allocations: 139.5 kB / 0.8306 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2148, allocations: 33.05 kB / 0.8306 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2149, allocations: 55.83 kB / 0.8307 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.215, allocations: 63.75 kB / 0.8307 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.215, allocations: 11.94 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2152, allocations: 55.95 kB / 0.8308 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.2152, allocations: 35.84 kB / 0.8308 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.2153, allocations: 59.66 kB / 0.8309 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.2156, allocations: 163.5 kB / 0.831 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2156, allocations: 0 / 0.831 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2156, allocations: 0 / 0.831 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2156, allocations: 0 / 0.831 GB, free: 13.24 MB / 0.6544 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.0008059/0.2164, allocations: 0.5428 MB / 0.8316 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2165, allocations: 12.02 kB / 0.8316 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.2165, allocations: 20.75 kB / 0.8316 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2168, allocations: 224 kB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2168, allocations: 4.375 kB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2168, allocations: 12.38 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2171, allocations: 127.7 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2171, allocations: 0 / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2171, allocations: 7.984 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2172, allocations: 4 kB / 0.832 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2174, allocations: 71.81 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.218, allocations: 452.8 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.2182, allocations: 93.11 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2184, allocations: 45.81 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2184, allocations: 4 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.2187, allocations: 145 kB / 0.8327 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2188, allocations: 4 kB / 0.8327 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005193/0.2193, allocations: 193.3 kB / 0.8329 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.2193, allocations: 77.11 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2195, allocations: 161.1 kB / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2195, allocations: 37.7 kB / 0.8332 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.2196, allocations: 116.2 kB / 0.8333 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2196, allocations: 27.64 kB / 0.8333 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.2197, allocations: 33.7 kB / 0.8333 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2198, allocations: 330.8 kB / 0.8337 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2199, allocations: 31.97 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.2201, allocations: 118.3 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2204, allocations: 151.5 kB / 0.834 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2204, allocations: 0 / 0.834 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003301/0.2207, allocations: 165.2 kB / 0.8341 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2207, allocations: 4.109 kB / 0.8341 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2208, allocations: 8.219 kB / 0.8341 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2208, allocations: 8 kB / 0.8341 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.2209, allocations: 15.92 kB / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2209, allocations: 7.984 kB / 0.8342 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.221, allocations: 11.94 kB / 0.8342 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.221, allocations: 12 kB / 0.8342 GB, free: 9.676 MB / 0.6544 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 0.0001124/0.2211, allocations: 133.7 kB / 0.8343 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2212, allocations: 15.81 kB / 0.8343 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.2212, allocations: 25.39 kB / 0.8343 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2212, allocations: 4.234 kB / 0.8343 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2212, allocations: 0 / 0.8343 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2212, allocations: 7.922 kB / 0.8344 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.2219, allocations: 0.5288 MB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2219, allocations: 0 / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.222, allocations: 20.45 kB / 0.8349 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.222, allocations: 3.938 kB / 0.8349 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.222, allocations: 4 kB / 0.8349 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.222, allocations: 4 kB / 0.8349 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.222, allocations: 4 kB / 0.8349 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.2224, allocations: 326.5 kB / 0.8352 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2225, allocations: 88.92 kB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2225, allocations: 11.94 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2227, allocations: 11.98 kB / 0.8353 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.2227, allocations: 11.98 kB / 0.8353 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.2228, allocations: 11.98 kB / 0.8353 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.2229, allocations: 123.5 kB / 0.8355 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2229, allocations: 0 / 0.8355 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003235/0.2232, allocations: 36 kB / 0.8355 GB, free: 8.219 MB / 0.6544 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.0003644/0.2236, allocations: 196.2 kB / 0.8357 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2239, allocations: 107.8 kB / 0.8358 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2239, allocations: 0 / 0.8358 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2241, allocations: 52.47 kB / 0.8358 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2244, allocations: 23.92 kB / 0.8359 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.2249, allocations: 243.6 kB / 0.8361 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.2252, allocations: 0.7119 MB / 0.8368 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.2253, allocations: 28.47 kB / 0.8368 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2254, allocations: 15.44 kB / 0.8368 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2254, allocations: 0 / 0.8368 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of Templates: time 0.004677/0.23, allocations: 1.794 MB / 0.8386 GB, free: 5.047 MB / 0.6544 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)