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.009001/0.009001, allocations: 110.5 kB / 15.06 MB, free: 5.965 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.001178/0.001178, allocations: 183.4 kB / 15.95 MB, free: 5.93 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 1.823/1.823, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.451/2.451, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0006103/0.0006105, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5391, allocations: 98.71 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.7247, allocations: 126.5 MB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.725, allocations: 75.95 kB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.7387, allocations: 3.233 MB / 0.8101 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7388, allocations: 0 / 0.8101 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.7388, allocations: 4 kB / 0.8101 GB, free: 12.55 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.0006704/0.7395, allocations: 466.5 kB / 0.8105 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7395, allocations: 12.03 kB / 0.8105 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.7396, allocations: 15.81 kB / 0.8105 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.7399, allocations: 231.7 kB / 0.8108 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.74, allocations: 4 kB / 0.8108 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.74, allocations: 12 kB / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.7404, allocations: 105.6 kB / 0.8109 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7404, allocations: 4 kB / 0.8109 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.7404, allocations: 8 kB / 0.8109 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-06/0.7404, allocations: 0 / 0.8109 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.7407, allocations: 75.94 kB / 0.811 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.7415, allocations: 396.4 kB / 0.8113 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.7417, allocations: 46.52 kB / 0.8114 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.7417, allocations: 4 kB / 0.8114 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.7421, allocations: 109.1 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.092e-06/0.7421, allocations: 0 / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005702/0.7426, allocations: 141.6 kB / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.7427, allocations: 81.11 kB / 0.8117 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.7431, allocations: 228 kB / 0.8119 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.7431, allocations: 29.69 kB / 0.812 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7432, allocations: 128.1 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7433, allocations: 7.906 kB / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-06/0.7433, allocations: 0 / 0.8121 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7435, allocations: 330.8 kB / 0.8124 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.7436, allocations: 27.98 kB / 0.8124 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.7438, allocations: 63.33 kB / 0.8125 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.744, allocations: 39.94 kB / 0.8125 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-06/0.744, allocations: 0 / 0.8125 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003956/0.7444, allocations: 125.2 kB / 0.8126 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.7444, allocations: 9.406 kB / 0.8127 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.024e-06/0.7445, allocations: 0 / 0.8127 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7445, allocations: 0 / 0.8127 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.7446, allocations: 16.08 kB / 0.8127 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7447, allocations: 4 kB / 0.8127 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.7448, allocations: 19.92 kB / 0.8127 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.7448, allocations: 8 kB / 0.8127 GB, free: 9.609 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 () * 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.0001471/0.745, allocations: 121.8 kB / 0.8128 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.745, allocations: 19.77 kB / 0.8128 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.7451, allocations: 25.23 kB / 0.8129 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-06/0.7451, allocations: 0 / 0.8129 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-06/0.7451, allocations: 4 kB / 0.8129 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7451, allocations: 3.938 kB / 0.8129 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.7454, allocations: 217.6 kB / 0.8131 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7454, allocations: 0 / 0.8131 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.7455, allocations: 11.98 kB / 0.8131 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.091e-06/0.7455, allocations: 4 kB / 0.8131 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7456, allocations: 7.891 kB / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-06/0.7456, allocations: 0 / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-06/0.7456, allocations: 0 / 0.8131 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.746, allocations: 136.8 kB / 0.8132 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.7461, allocations: 104.9 kB / 0.8133 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.7462, allocations: 0 / 0.8133 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.7463, allocations: 15.94 kB / 0.8133 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.7464, allocations: 11.98 kB / 0.8134 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.7464, allocations: 4 kB / 0.8134 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002438/0.7467, allocations: 180.5 kB / 0.8135 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.833e-06/0.7467, allocations: 0 / 0.8135 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003191/0.747, allocations: 32.06 kB / 0.8136 GB, free: 8.637 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 () * 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.0002779/0.7473, allocations: 133.2 kB / 0.8137 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.7477, allocations: 67.95 kB / 0.8138 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.7477, allocations: 0 / 0.8138 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.7478, allocations: 40.09 kB / 0.8138 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.7481, allocations: 36.34 kB / 0.8138 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.7489, allocations: 322.3 kB / 0.8141 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.7493, allocations: 0.7236 MB / 0.8148 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.884e-05/0.7494, allocations: 16.55 kB / 0.8149 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.7495, allocations: 19.44 kB / 0.8149 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of SimCode: time 4.576e-06/0.7495, allocations: 0 / 0.8149 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.006192/0.7557, allocations: 1.601 MB / 0.8164 GB, free: 5.645 MB / 0.6355 GB