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.164/2.164, allocations: 252.6 MB / 265.2 MB, free: 5.707 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.002047/0.002047, allocations: 94.06 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.032e-05, allocations: 3.984 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1879, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9767/1.165, allocations: 133.4 MB / 1.025 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.165, allocations: 74.14 kB / 1.025 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/1.18, allocations: 3.287 MB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.18, allocations: 0 / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.136e-05/1.18, allocations: 4 kB / 1.028 GB, free: 14.26 MB / 0.6511 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.0007053/1.18, allocations: 436.4 kB / 1.029 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.18, allocations: 8.031 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/1.18, allocations: 15.81 kB / 1.029 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/1.181, allocations: 242.6 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/1.181, allocations: 2.75 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/1.181, allocations: 4 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/1.181, allocations: 85.3 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.181, allocations: 4 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/1.181, allocations: 0 / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.181, allocations: 0 / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/1.181, allocations: 39.42 kB / 1.029 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/1.182, allocations: 391.7 kB / 1.03 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/1.182, allocations: 29.66 kB / 1.03 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/1.182, allocations: 15.98 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/1.183, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/1.183, allocations: 84.52 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/1.183, allocations: 0 / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.000231/1.183, allocations: 68 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/1.183, allocations: 77.11 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.184, allocations: 220.8 kB / 1.03 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/1.184, allocations: 25.7 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/1.184, allocations: 133.8 kB / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.184, allocations: 7.906 kB / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.184, allocations: 0 / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.184, allocations: 329.2 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/1.184, allocations: 7.25 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/1.184, allocations: 34.61 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/1.184, allocations: 7.5 kB / 1.031 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.184, allocations: 4 kB / 1.031 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001905/1.184, allocations: 76.3 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.184, allocations: 8 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.184, allocations: 0 / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.184, allocations: 0 / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.185, allocations: 19.92 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.185, allocations: 0 / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/1.185, allocations: 28.06 kB / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/1.185, allocations: 0 / 1.031 GB, free: 11.86 MB / 0.6511 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 0.0001021/1.185, allocations: 112.4 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/1.185, allocations: 23.75 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/1.185, allocations: 16.94 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.185, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.185, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.185, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/1.185, allocations: 222.1 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.185, allocations: 8 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.186, allocations: 11.98 kB / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/1.186, allocations: 0 / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/1.186, allocations: 7.953 kB / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.186, allocations: 4 kB / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.186, allocations: 0 / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/1.186, allocations: 95.05 kB / 1.031 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/1.186, allocations: 100.4 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/1.186, allocations: 7.922 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/1.186, allocations: 19.94 kB / 1.031 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/1.186, allocations: 0 / 1.031 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.186, allocations: 4 kB / 1.031 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000267/1.187, allocations: 180 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.187, allocations: 0 / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003059/1.187, allocations: 26.91 kB / 1.032 GB, free: 11.02 MB / 0.6511 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.000334/1.187, allocations: 124.4 kB / 1.032 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001581/1.187, allocations: 22.56 kB / 1.032 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.187, allocations: 3.984 kB / 1.032 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/1.187, allocations: 15.38 kB / 1.032 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/1.188, allocations: 40.02 kB / 1.032 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/1.189, allocations: 183.8 kB / 1.032 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.189, allocations: 0.724 MB / 1.033 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001172/1.189, allocations: 24.47 kB / 1.033 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/1.189, allocations: 19.38 kB / 1.033 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/1.189, allocations: 0 / 1.033 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of Templates: time 0.00702/1.196, allocations: 1.621 MB / 1.034 GB, free: 8.258 MB / 0.6511 GB