Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008364/0.0008364, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008657/0.000866, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005055/0.0005056, allocations: 16.94 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2413, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001781/0.2431, allocations: 1.273 MB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2443, allocations: 0.6998 MB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.2443, allocations: 3.938 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.028e-05/0.2444, allocations: 7.875 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.2445, allocations: 15.86 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.0004181/0.2449, allocations: 99.7 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2451, allocations: 119.6 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2452, allocations: 25.11 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.2453, allocations: 43.78 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.2454, allocations: 55.73 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2454, allocations: 12 kB / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.2455, allocations: 35.98 kB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.2455, allocations: 27.89 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2456, allocations: 45.64 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2458, allocations: 112 kB / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2458, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2458, allocations: 4 kB / 0.7898 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2458, allocations: 0 / 0.7898 GB, free: 9.34 MB / 0.6075 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.0007494/0.2465, allocations: 0.5233 MB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2466, allocations: 8.031 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.2467, allocations: 19.8 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.2469, allocations: 214.8 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2469, allocations: 12 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.2469, allocations: 8 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2472, allocations: 130.2 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2473, allocations: 4 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2473, allocations: 11.98 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2473, allocations: 0 / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2475, allocations: 83.81 kB / 0.7908 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.2481, allocations: 472.7 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2483, allocations: 97.11 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2485, allocations: 57.81 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2485, allocations: 4 kB / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.2488, allocations: 152.9 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.785e-06/0.2488, allocations: 3.984 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000587/0.2494, allocations: 213.4 kB / 0.7917 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.2496, allocations: 81.05 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2497, allocations: 159.4 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/0.2498, allocations: 34.08 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.2499, allocations: 112.3 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2499, allocations: 31.62 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-06/0.2499, allocations: 4 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.25, allocations: 330.8 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2502, allocations: 43.97 kB / 0.7925 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2503, allocations: 122.3 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2505, allocations: 55.91 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2505, allocations: 112 / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003308/0.2508, allocations: 185.2 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2509, allocations: 8.281 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2509, allocations: 4 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2509, allocations: 7.953 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.251, allocations: 19.98 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.251, allocations: 7.922 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.2511, allocations: 16 kB / 0.7929 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2511, allocations: 8 kB / 0.7929 GB, free: 5.844 MB / 0.6075 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.0001046/0.2512, allocations: 133.8 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.2513, allocations: 11.81 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.2513, allocations: 21.39 kB / 0.7931 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2513, allocations: 4 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2513, allocations: 3.953 kB / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2514, allocations: 0 / 0.7931 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.252, allocations: 0.5522 MB / 0.7936 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.252, allocations: 0 / 0.7936 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.2521, allocations: 27.92 kB / 0.7936 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2521, allocations: 3.953 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.2521, allocations: 0 / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2521, allocations: 4 kB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2521, allocations: 0 / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.2525, allocations: 334.6 kB / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.2526, allocations: 88.92 kB / 0.794 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2526, allocations: 3.953 kB / 0.794 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.2528, allocations: 27.98 kB / 0.7941 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2528, allocations: 15.91 kB / 0.7941 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.2529, allocations: 12 kB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.2529, allocations: 119.2 kB / 0.7942 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.253, allocations: 0 / 0.7942 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003228/0.2533, allocations: 40.08 kB / 0.7943 GB, free: 4.352 MB / 0.6075 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.0004439/0.2537, allocations: 191.6 kB / 0.7944 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.2541, allocations: 123.8 kB / 0.7946 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2541, allocations: 0 / 0.7946 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2542, allocations: 64.47 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.2546, allocations: 24.06 kB / 0.7946 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.2551, allocations: 266.8 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2554, allocations: 0.7158 MB / 0.7956 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.2555, allocations: 24.53 kB / 0.7956 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2555, allocations: 15.44 kB / 0.7956 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of SimCode: time 1.684e-06/0.2555, allocations: 0 / 0.7956 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.0044/0.2599, allocations: 1.584 MB / 0.7972 GB, free: 1.352 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) Environment - environmentSimulation: