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.0006439/0.0006439, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003939/0.003939, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.161/1.161, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.32/1.32, allocations: 252 MB / 0.5105 GB, free: 4.637 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.000464/0.000464, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3831, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001433/0.3846, allocations: 1.301 MB / 0.73 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.3856, allocations: 0.737 MB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.3856, allocations: 0 / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.342e-05/0.3857, allocations: 11.92 kB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.3858, allocations: 15.8 kB / 0.7307 GB, free: 9.184 MB / 0.545 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.000317/0.3861, allocations: 91.84 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3862, allocations: 139.5 kB / 0.731 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3864, allocations: 29.02 kB / 0.731 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.3864, allocations: 51.77 kB / 0.731 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.3865, allocations: 55.77 kB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3865, allocations: 4 kB / 0.7311 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.3866, allocations: 47.95 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.3867, allocations: 23.86 kB / 0.7312 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.3867, allocations: 81.34 kB / 0.7312 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3869, allocations: 153.5 kB / 0.7314 GB, free: 8.516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3869, allocations: 0 / 0.7314 GB, free: 8.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3869, allocations: 0 / 0.7314 GB, free: 8.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.3869, allocations: 0 / 0.7314 GB, free: 8.516 MB / 0.545 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.0006757/0.3876, allocations: 0.5308 MB / 0.7319 GB, free: 7.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.3877, allocations: 15.97 kB / 0.7319 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3877, allocations: 24.69 kB / 0.7319 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3879, allocations: 212.8 kB / 0.7321 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3879, allocations: 12.36 kB / 0.7322 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3879, allocations: 4.375 kB / 0.7322 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.3882, allocations: 135.7 kB / 0.7323 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3882, allocations: 4 kB / 0.7323 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3882, allocations: 4 kB / 0.7323 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3883, allocations: 11.88 kB / 0.7323 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.3885, allocations: 75.94 kB / 0.7324 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.389, allocations: 476.7 kB / 0.7328 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3892, allocations: 85.19 kB / 0.7329 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3894, allocations: 57.81 kB / 0.733 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3894, allocations: 3.984 kB / 0.733 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.3897, allocations: 161 kB / 0.7331 GB, free: 6.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.3897, allocations: 0 / 0.7331 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005184/0.3902, allocations: 213.5 kB / 0.7333 GB, free: 6.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3903, allocations: 77.11 kB / 0.7334 GB, free: 6.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3904, allocations: 171.6 kB / 0.7336 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3904, allocations: 29.7 kB / 0.7336 GB, free: 6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.3905, allocations: 116.2 kB / 0.7337 GB, free: 5.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3905, allocations: 23.7 kB / 0.7337 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.3906, allocations: 21.72 kB / 0.7337 GB, free: 5.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.3907, allocations: 330.8 kB / 0.7341 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3908, allocations: 43.97 kB / 0.7341 GB, free: 5.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.391, allocations: 125.4 kB / 0.7342 GB, free: 5.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.3913, allocations: 163.5 kB / 0.7344 GB, free: 5.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3913, allocations: 0 / 0.7344 GB, free: 5.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003462/0.3916, allocations: 181.2 kB / 0.7346 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3917, allocations: 8 kB / 0.7346 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3917, allocations: 4 kB / 0.7346 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3917, allocations: 12.31 kB / 0.7346 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.3918, allocations: 23.91 kB / 0.7346 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3918, allocations: 4 kB / 0.7346 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.3919, allocations: 23.88 kB / 0.7346 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3919, allocations: 7.984 kB / 0.7346 GB, free: 4.848 MB / 0.545 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 9.947e-05/0.392, allocations: 129.8 kB / 0.7348 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3921, allocations: 19.81 kB / 0.7348 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.3921, allocations: 21.39 kB / 0.7348 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3921, allocations: 4 kB / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3921, allocations: 0 / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3921, allocations: 4.312 kB / 0.7348 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.3927, allocations: 0.5444 MB / 0.7353 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3927, allocations: 4 kB / 0.7353 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.3928, allocations: 15.98 kB / 0.7354 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3928, allocations: 3.938 kB / 0.7354 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3929, allocations: 8 kB / 0.7354 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3929, allocations: 7.938 kB / 0.7354 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3929, allocations: 0 / 0.7354 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3932, allocations: 334.5 kB / 0.7357 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3933, allocations: 92.92 kB / 0.7358 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3933, allocations: 3.938 kB / 0.7358 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3935, allocations: 23.97 kB / 0.7358 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.3935, allocations: 15.98 kB / 0.7358 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3936, allocations: 8 kB / 0.7358 GB, free: 3.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.3936, allocations: 115.2 kB / 0.7359 GB, free: 3.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3937, allocations: 0 / 0.7359 GB, free: 3.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000303/0.394, allocations: 47.92 kB / 0.736 GB, free: 3.359 MB / 0.545 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.0003131/0.3943, allocations: 204 kB / 0.7362 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3946, allocations: 120 kB / 0.7363 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3946, allocations: 3.938 kB / 0.7363 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3948, allocations: 56.41 kB / 0.7364 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3951, allocations: 19.98 kB / 0.7364 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.3955, allocations: 282.9 kB / 0.7366 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3958, allocations: 0.7199 MB / 0.7373 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.719e-05/0.3958, allocations: 24.53 kB / 0.7374 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3959, allocations: 15.44 kB / 0.7374 GB, free: 1.906 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3959, allocations: 0 / 0.7374 GB, free: 1.906 MB / 0.545 GB Notification: Performance of Templates: time 0.003872/0.3998, allocations: 1.626 MB / 0.739 GB, free: 300 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: