Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.444/2.444, allocations: 284.8 MB / 297.3 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 180.8 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 102.8 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.811e-05, allocations: 0 / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.9759, allocations: 115.2 MB / 0.97 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/1.284, allocations: 139.8 MB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.284, allocations: 75.95 kB / 1.107 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01482/1.299, allocations: 3.276 MB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/1.299, allocations: 1.156 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.849e-05/1.299, allocations: 2.953 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007226/1.3, allocations: 434.3 kB / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.3, allocations: 10.47 kB / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/1.3, allocations: 24.94 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/1.3, allocations: 231.6 kB / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.3, allocations: 4 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/1.3, allocations: 4 kB / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/1.301, allocations: 85.67 kB / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.301, allocations: 1.812 kB / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/1.301, allocations: 5.172 kB / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.301, allocations: 0 / 1.11 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.301, allocations: 45.8 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/1.302, allocations: 392.3 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.412e-05/1.302, allocations: 18.58 kB / 1.111 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/1.302, allocations: 19.14 kB / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/1.302, allocations: 7.938 kB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/1.302, allocations: 86.27 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/1.302, allocations: 0 / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002369/1.302, allocations: 65.36 kB / 1.111 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/1.303, allocations: 81.09 kB / 1.111 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/1.303, allocations: 217.1 kB / 1.111 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/1.303, allocations: 25.7 kB / 1.111 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.303, allocations: 132 kB / 1.112 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/1.303, allocations: 7.906 kB / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.303, allocations: 0 / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.303, allocations: 330.8 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/1.303, allocations: 11.94 kB / 1.112 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/1.303, allocations: 35.42 kB / 1.112 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/1.303, allocations: 11.94 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.304, allocations: 0 / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001843/1.304, allocations: 73.47 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.304, allocations: 11.95 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.304, allocations: 0 / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.304, allocations: 0 / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/1.304, allocations: 15.98 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.304, allocations: 0 / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/1.304, allocations: 20.64 kB / 1.112 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.304, allocations: 144 / 1.112 GB, free: 6.828 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.949e-05/1.304, allocations: 113 kB / 1.112 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/1.304, allocations: 19.8 kB / 1.112 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/1.304, allocations: 17.2 kB / 1.112 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.304, allocations: 4 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.304, allocations: 5.438 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.305, allocations: 0 / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/1.305, allocations: 221.4 kB / 1.112 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.305, allocations: 4 kB / 1.112 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.305, allocations: 15.98 kB / 1.112 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.305, allocations: 0 / 1.112 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.305, allocations: 4 kB / 1.112 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.305, allocations: 11.89 kB / 1.112 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.305, allocations: 0 / 1.112 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.305, allocations: 88.92 kB / 1.113 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/1.305, allocations: 100.9 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/1.305, allocations: 0 / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/1.306, allocations: 15.98 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.306, allocations: 7.953 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/1.306, allocations: 4 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000286/1.306, allocations: 181.4 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.41e-07/1.306, allocations: 0 / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002952/1.306, allocations: 20 kB / 1.113 GB, free: 5.926 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003162/1.307, allocations: 123.7 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001523/1.307, allocations: 31.92 kB / 1.113 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.307, allocations: 3.938 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/1.307, allocations: 16.19 kB / 1.113 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/1.307, allocations: 34.77 kB / 1.113 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/1.308, allocations: 192 kB / 1.113 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/1.308, allocations: 0.7238 MB / 1.114 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001123/1.308, allocations: 24.23 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/1.308, allocations: 15.44 kB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/1.309, allocations: 0 / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of Templates: time 0.006871/1.315, allocations: 1.619 MB / 1.116 GB, free: 3.164 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)