Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.106/4.106, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.165e-05, allocations: 3.219 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1824, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.3779, allocations: 126.4 MB / 0.7581 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3782, allocations: 75.95 kB / 0.7582 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.3915, allocations: 3.232 MB / 0.7614 GB, free: 56 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.872e-06/0.3915, allocations: 0 / 0.7614 GB, free: 56 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.3916, allocations: 4 kB / 0.7614 GB, free: 52 kB / 0.6355 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.0006316/0.3922, allocations: 434.1 kB / 0.7618 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3923, allocations: 12.03 kB / 0.7618 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3923, allocations: 15.81 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3927, allocations: 235.6 kB / 0.762 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3927, allocations: 4 kB / 0.762 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3928, allocations: 4 kB / 0.762 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.393, allocations: 81.67 kB / 0.7621 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.468e-06/0.393, allocations: 0 / 0.7621 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3931, allocations: 7.984 kB / 0.7621 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.453e-06/0.3931, allocations: 0 / 0.7621 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.3932, allocations: 39.94 kB / 0.7622 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.394, allocations: 392.4 kB / 0.7625 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.3941, allocations: 38.45 kB / 0.7626 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.3941, allocations: 12.92 kB / 0.7626 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3942, allocations: 0 / 0.7626 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.3943, allocations: 81.11 kB / 0.7627 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 2.19e-06/0.3944, allocations: 0 / 0.7627 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002038/0.3946, allocations: 65.47 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3947, allocations: 85.11 kB / 0.7628 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.395, allocations: 217.1 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.395, allocations: 33.69 kB / 0.7631 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3952, allocations: 128 kB / 0.7632 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3952, allocations: 7.844 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-06/0.3952, allocations: 0 / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3954, allocations: 335.2 kB / 0.7635 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.3955, allocations: 8 kB / 0.7635 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.263e-05/0.3955, allocations: 35.44 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.3956, allocations: 4 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-06/0.3956, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001799/0.3958, allocations: 77.39 kB / 0.7636 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3958, allocations: 4 kB / 0.7636 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-06/0.3958, allocations: 4.125 kB / 0.7636 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3959, allocations: 7.984 kB / 0.7636 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.396, allocations: 19.92 kB / 0.7637 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.396, allocations: 0 / 0.7637 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3962, allocations: 19.89 kB / 0.7637 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3962, allocations: 0 / 0.7637 GB, free: 13.45 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 9.758e-05/0.3963, allocations: 113 kB / 0.7638 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.3964, allocations: 19.77 kB / 0.7638 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.3964, allocations: 17.23 kB / 0.7638 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/0.3964, allocations: 0 / 0.7638 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3965, allocations: 0 / 0.7638 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-06/0.3965, allocations: 4 kB / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3967, allocations: 213.5 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-06/0.3967, allocations: 0 / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.3969, allocations: 15.98 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-06/0.3969, allocations: 7.984 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3969, allocations: 3.953 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-06/0.3969, allocations: 0 / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.921e-06/0.3969, allocations: 4 kB / 0.7641 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3971, allocations: 92.88 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/0.3972, allocations: 96.91 kB / 0.7642 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.3973, allocations: 7.938 kB / 0.7642 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3974, allocations: 19.94 kB / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3975, allocations: 8 kB / 0.7643 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3975, allocations: 7.984 kB / 0.7643 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002395/0.3978, allocations: 173.4 kB / 0.7644 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.257e-06/0.3978, allocations: 0 / 0.7644 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003195/0.3981, allocations: 35.83 kB / 0.7645 GB, free: 12.54 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.0002894/0.3984, allocations: 129.5 kB / 0.7646 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3986, allocations: 31.92 kB / 0.7646 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.3986, allocations: 0 / 0.7646 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.3987, allocations: 8 kB / 0.7646 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.399, allocations: 34.53 kB / 0.7647 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.3995, allocations: 193.9 kB / 0.7649 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3999, allocations: 0.7275 MB / 0.7656 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.595e-05/0.4001, allocations: 12.55 kB / 0.7656 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.4001, allocations: 19.42 kB / 0.7656 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.562e-06/0.4001, allocations: 0 / 0.7656 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.006192/0.4063, allocations: 1.618 MB / 0.7672 GB, free: 9.734 MB / 0.6511 GB