Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004448/0.004453, allocations: 231.7 kB / 15.82 MB, free: 6.301 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001133/0.001133, allocations: 177.9 kB / 16.71 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.933/3.933, allocations: 389.1 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.975/3.975, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.000481, allocations: 19.92 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7872/0.9536, allocations: 126.5 MB / 1.228 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.9539, allocations: 85.84 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.9671, allocations: 3.225 MB / 1.231 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9671, allocations: 0 / 1.231 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2e-05/0.9672, allocations: 11.75 kB / 1.231 GB, free: 25.2 MB / 0.6198 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.0006257/0.9678, allocations: 460.3 kB / 1.232 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.9679, allocations: 14.09 kB / 1.232 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.9679, allocations: 15.81 kB / 1.232 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.9682, allocations: 237.3 kB / 1.232 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.9683, allocations: 4 kB / 1.232 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.9683, allocations: 7.625 kB / 1.232 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.9687, allocations: 103.6 kB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9687, allocations: 4 kB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.9688, allocations: 8.344 kB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9688, allocations: 0.5625 kB / 1.232 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.9692, allocations: 75.81 kB / 1.232 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.97, allocations: 395.4 kB / 1.233 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.9702, allocations: 49.08 kB / 1.233 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.9704, allocations: 40.61 kB / 1.233 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.9704, allocations: 4.562 kB / 1.233 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.9708, allocations: 105.5 kB / 1.233 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.9708, allocations: 0.9375 kB / 1.233 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006858/0.9715, allocations: 139.1 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.9715, allocations: 84.55 kB / 1.233 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.9719, allocations: 253.5 kB / 1.233 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.9719, allocations: 26.45 kB / 1.233 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.972, allocations: 122 kB / 1.233 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.972, allocations: 12.92 kB / 1.233 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.9721, allocations: 3.375 kB / 1.233 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9722, allocations: 324.4 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.9724, allocations: 33.34 kB / 1.234 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.9726, allocations: 57.98 kB / 1.234 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.9728, allocations: 33.67 kB / 1.234 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9728, allocations: 0 / 1.234 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004439/0.9733, allocations: 130.2 kB / 1.234 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9733, allocations: 4 kB / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9733, allocations: 2.391 kB / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.9733, allocations: 0 / 1.234 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.9735, allocations: 17.88 kB / 1.234 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.9735, allocations: 7.938 kB / 1.234 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.9737, allocations: 17.36 kB / 1.234 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.9737, allocations: 7.828 kB / 1.234 GB, free: 22.76 MB / 0.6198 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.0001343/0.9739, allocations: 124.6 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.9739, allocations: 20.28 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.974, allocations: 19.67 kB / 1.234 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.974, allocations: 0 / 1.234 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.974, allocations: 0.7031 kB / 1.234 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.974, allocations: 0.9844 kB / 1.234 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.9742, allocations: 221 kB / 1.234 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9742, allocations: 2.062 kB / 1.234 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.9744, allocations: 15.8 kB / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9744, allocations: 4.516 kB / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.9744, allocations: 0 / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9744, allocations: 0.8906 kB / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9744, allocations: 0.625 kB / 1.234 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.9749, allocations: 145.3 kB / 1.235 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.975, allocations: 100.6 kB / 1.235 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.975, allocations: 8.875 kB / 1.235 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.9752, allocations: 15.8 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.9753, allocations: 8.672 kB / 1.235 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.9753, allocations: 9.594 kB / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000236/0.9756, allocations: 179.6 kB / 1.235 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9756, allocations: 0 / 1.235 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004509/0.976, allocations: 24.69 kB / 1.235 GB, free: 21.96 MB / 0.6198 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.0003036/0.9763, allocations: 124.5 kB / 1.235 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.9768, allocations: 73.28 kB / 1.235 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9768, allocations: 0 / 1.235 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.977, allocations: 37.77 kB / 1.235 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.9775, allocations: 39.81 kB / 1.235 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.9781, allocations: 316.3 kB / 1.235 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.9789, allocations: 0.7224 MB / 1.236 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.979, allocations: 18.16 kB / 1.236 GB, free: 36.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.9791, allocations: 21.55 kB / 1.236 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.9791, allocations: 0 / 1.236 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.005918/0.985, allocations: 1.613 MB / 1.238 GB, free: 35.89 MB / 0.6355 GB