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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.125/4.125, allocations: 433.4 MB / 440.9 MB, free: 4.453 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 1.529e-05/2.311e-05, allocations: 2.25 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.403, allocations: 125.7 MB / 0.7517 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4033, allocations: 83.94 kB / 0.7518 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.4163, allocations: 3.203 MB / 0.7549 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.546e-06/0.4163, allocations: 0 / 0.7549 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.4163, allocations: 11.94 kB / 0.7549 GB, free: 7.941 MB / 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.0006441/0.417, allocations: 426.2 kB / 0.7553 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4171, allocations: 8.031 kB / 0.7553 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.4171, allocations: 19.77 kB / 0.7553 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.4175, allocations: 239.6 kB / 0.7556 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4175, allocations: 4 kB / 0.7556 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.4176, allocations: 0 / 0.7556 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/0.4177, allocations: 31.98 kB / 0.7556 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4179, allocations: 79.83 kB / 0.7557 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4179, allocations: 0 / 0.7557 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.418, allocations: 0 / 0.7557 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-06/0.418, allocations: 4 kB / 0.7557 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.4187, allocations: 361 kB / 0.756 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.4188, allocations: 30.53 kB / 0.756 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.4188, allocations: 8.922 kB / 0.7561 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4189, allocations: 0 / 0.7561 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.419, allocations: 81.05 kB / 0.7561 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.223e-06/0.4191, allocations: 4 kB / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002/0.4193, allocations: 61.5 kB / 0.7562 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.4193, allocations: 77.11 kB / 0.7563 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.4196, allocations: 198.1 kB / 0.7565 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4197, allocations: 29.69 kB / 0.7565 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4198, allocations: 132 kB / 0.7566 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4198, allocations: 3.906 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4198, allocations: 3.938 kB / 0.7566 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.42, allocations: 330.8 kB / 0.7569 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.4201, allocations: 8 kB / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.4201, allocations: 39.41 kB / 0.757 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.4202, allocations: 8 kB / 0.757 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-06/0.4202, allocations: 0 / 0.757 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001743/0.4204, allocations: 73.42 kB / 0.7571 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4204, allocations: 8 kB / 0.7571 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.488e-06/0.4204, allocations: 4 kB / 0.7571 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4205, allocations: 0 / 0.7571 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4206, allocations: 15.98 kB / 0.7571 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.172e-06/0.4207, allocations: 3.984 kB / 0.7571 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.4208, allocations: 12.09 kB / 0.7571 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4208, allocations: 7.984 kB / 0.7571 GB, free: 5.445 MB / 0.6355 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.464e-05/0.4209, allocations: 108.9 kB / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.421, allocations: 19.77 kB / 0.7572 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.421, allocations: 17.56 kB / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-06/0.421, allocations: 0 / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-06/0.4211, allocations: 3.984 kB / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-06/0.4211, allocations: 0 / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4213, allocations: 190.1 kB / 0.7574 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-06/0.4213, allocations: 4 kB / 0.7574 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4214, allocations: 15.98 kB / 0.7575 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-06/0.4215, allocations: 0 / 0.7575 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4215, allocations: 3.938 kB / 0.7575 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.011e-06/0.4215, allocations: 7.953 kB / 0.7575 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.265e-06/0.4215, allocations: 3.984 kB / 0.7575 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.4217, allocations: 84.94 kB / 0.7575 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.4218, allocations: 97 kB / 0.7576 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4218, allocations: 0 / 0.7576 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.422, allocations: 15.98 kB / 0.7577 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.422, allocations: 7.938 kB / 0.7577 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.4221, allocations: 4 kB / 0.7577 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001935/0.4223, allocations: 156.7 kB / 0.7578 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.87e-07/0.4223, allocations: 0 / 0.7578 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003155/0.4226, allocations: 27.97 kB / 0.7578 GB, free: 4.609 MB / 0.6355 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.0002754/0.4229, allocations: 125.6 kB / 0.758 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.423, allocations: 27.92 kB / 0.758 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.001e-06/0.4231, allocations: 0 / 0.758 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.4231, allocations: 12.19 kB / 0.758 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4234, allocations: 37.67 kB / 0.758 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.4239, allocations: 177 kB / 0.7582 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4244, allocations: 0.7352 MB / 0.7589 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.173e-05/0.4245, allocations: 12.66 kB / 0.7589 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.4246, allocations: 19.44 kB / 0.759 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of SimCode: time 3.669e-06/0.4246, allocations: 0 / 0.759 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of Templates: time 0.00577/0.4304, allocations: 1.467 MB / 0.7604 GB, free: 1.969 MB / 0.6355 GB