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.0009667/0.000971, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001071/0.001071, allocations: 177.3 kB / 15.94 MB, free: 228 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.689/1.689, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000657/0.000657, allocations: 15.06 kB / 0.6735 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2805, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002001/0.2826, allocations: 1.27 MB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.284, allocations: 0.7026 MB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.2841, allocations: 0 / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2842, allocations: 11.94 kB / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.2843, allocations: 19.89 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.2849, allocations: 87.78 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2852, allocations: 91.81 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2853, allocations: 21.11 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2855, allocations: 43.84 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.2856, allocations: 55.75 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.2857, allocations: 4 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2859, allocations: 43.89 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2859, allocations: 23.86 kB / 0.7894 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.286, allocations: 41.64 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.2862, allocations: 112 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2863, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2863, allocations: 4 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2863, allocations: 0 / 0.7896 GB, free: 9.434 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.0009733/0.2873, allocations: 0.5272 MB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2873, allocations: 8.031 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.2874, allocations: 19.81 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2877, allocations: 210.8 kB / 0.7903 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2877, allocations: 8 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.2878, allocations: 8 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2881, allocations: 139.3 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2882, allocations: 4 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2882, allocations: 8 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2882, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.2885, allocations: 79.94 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.2892, allocations: 476.6 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2895, allocations: 93.11 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.2895, allocations: 7.938 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.2899, allocations: 149.1 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.2899, allocations: 0 / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0005682/0.2905, allocations: 217.3 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.2905, allocations: 81.11 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2907, allocations: 163.4 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.2907, allocations: 29.7 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.2908, allocations: 108.3 kB / 0.7918 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.2908, allocations: 35.62 kB / 0.7918 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.2908, allocations: 4 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.291, allocations: 322.8 kB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2911, allocations: 43.97 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.2913, allocations: 126.2 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.2915, allocations: 59.97 kB / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2915, allocations: 0 / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003868/0.2919, allocations: 177.3 kB / 0.7925 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2919, allocations: 4 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2919, allocations: 4.234 kB / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2919, allocations: 7.984 kB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2921, allocations: 32.09 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2921, allocations: 7.984 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.2922, allocations: 15.98 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2922, allocations: 8.094 kB / 0.7926 GB, free: 6 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.0001424/0.2924, allocations: 137.7 kB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2924, allocations: 15.81 kB / 0.7928 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.2924, allocations: 17.39 kB / 0.7928 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2925, allocations: 8 kB / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2925, allocations: 3.953 kB / 0.7928 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2925, allocations: 0 / 0.7928 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.2932, allocations: 0.5525 MB / 0.7933 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2932, allocations: 0 / 0.7933 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.2933, allocations: 16.08 kB / 0.7934 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.2933, allocations: 11.89 kB / 0.7934 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2933, allocations: 4 kB / 0.7934 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2933, allocations: 0 / 0.7934 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2934, allocations: 7.984 kB / 0.7934 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.2938, allocations: 340.3 kB / 0.7937 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.2939, allocations: 92.88 kB / 0.7938 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2939, allocations: 8 kB / 0.7938 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2941, allocations: 19.97 kB / 0.7938 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2941, allocations: 19.92 kB / 0.7938 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.2942, allocations: 4 kB / 0.7938 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.762e-05/0.2942, allocations: 127.2 kB / 0.794 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2943, allocations: 0 / 0.794 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003368/0.2946, allocations: 35.98 kB / 0.794 GB, free: 4.484 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.000412/0.295, allocations: 186 kB / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.2954, allocations: 124 kB / 0.7943 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2954, allocations: 0 / 0.7943 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2956, allocations: 63.89 kB / 0.7944 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2958, allocations: 16.36 kB / 0.7944 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.2963, allocations: 273.7 kB / 0.7946 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.2966, allocations: 0.7236 MB / 0.7953 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.2967, allocations: 20.53 kB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2967, allocations: 15.44 kB / 0.7954 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2968, allocations: 8.125 kB / 0.7954 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.004973/0.3017, allocations: 1.578 MB / 0.7969 GB, free: 1.484 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: