Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 182.1 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.55 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004551, allocations: 9.062 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.4475, allocations: 133.5 MB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/0.448, allocations: 79.94 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.4669, allocations: 3.279 MB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4669, allocations: 0 / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.4669, allocations: 4 kB / 1.033 GB, free: 8.41 MB / 0.6823 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.0009581/0.4679, allocations: 470.5 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.468, allocations: 8.031 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.4681, allocations: 19.81 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.4686, allocations: 231.7 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4686, allocations: 7.984 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.4687, allocations: 0 / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.4692, allocations: 117.6 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4693, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.4693, allocations: 4 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4693, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.4699, allocations: 79.94 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.471, allocations: 392.4 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.4714, allocations: 50.5 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4714, allocations: 3.938 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.4719, allocations: 117.1 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/0.4719, allocations: 0 / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009499/0.4729, allocations: 137.4 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.4729, allocations: 77.11 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.4735, allocations: 232.1 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.4735, allocations: 25.7 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.4737, allocations: 128 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.4737, allocations: 7.906 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.4737, allocations: 0 / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4739, allocations: 326.8 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.4742, allocations: 35.97 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.4745, allocations: 55.34 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4748, allocations: 40 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4749, allocations: 0 / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006695/0.4755, allocations: 121.4 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.4756, allocations: 8 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4756, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4756, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.4759, allocations: 15.98 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.4759, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.4761, allocations: 27.89 kB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4762, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 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 () * Number of clocked 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 0.0001864/0.4764, allocations: 130.1 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.4764, allocations: 19.77 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.4765, allocations: 25.22 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4765, allocations: 0 / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4766, allocations: 3.938 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4766, allocations: 4 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4769, allocations: 209.6 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4769, allocations: 4 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.4771, allocations: 11.98 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4771, allocations: 3.938 kB / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4772, allocations: 11.94 kB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4772, allocations: 0 / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4772, allocations: 0 / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.4778, allocations: 136.9 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.478, allocations: 100.9 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.478, allocations: 4 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4783, allocations: 19.94 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4783, allocations: 4 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.4784, allocations: 7.984 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003728/0.4788, allocations: 184.4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.042e-06/0.4788, allocations: 3.938 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007586/0.4796, allocations: 27.84 kB / 1.036 GB, free: 4.496 MB / 0.6823 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 () * Number of clocked 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.0004489/0.4801, allocations: 123.7 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.4811, allocations: 71.94 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4811, allocations: 0 / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.4815, allocations: 39.91 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4819, allocations: 38.94 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4829, allocations: 318.4 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.4834, allocations: 0.7199 MB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.4836, allocations: 24.66 kB / 1.037 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.4837, allocations: 19.42 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/0.4837, allocations: 7.875 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of Templates: time 0.009305/0.493, allocations: 1.593 MB / 1.039 GB, free: 1.508 MB / 0.6823 GB