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.008856/0.008856, allocations: 111.5 kB / 15.06 MB, free: 5.562 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.003022/0.003022, allocations: 184.1 kB / 15.95 MB, free: 5.523 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.818/1.818, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.298/2.298, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.5998, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002638/0.6025, allocations: 1.312 MB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.6039, allocations: 0.5412 MB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.6041, allocations: 5.188 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.6043, allocations: 15.48 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.6047, allocations: 59.88 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.6049, allocations: 57.45 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.6052, allocations: 91.72 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.6054, allocations: 37.95 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.6056, allocations: 39.95 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.6057, allocations: 46.88 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.6058, allocations: 7.594 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.6059, allocations: 9.094 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.606, allocations: 32.94 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.6061, allocations: 48.52 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.6063, allocations: 93.83 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.866e-06/0.6064, allocations: 1.406 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.668e-06/0.6064, allocations: 0 / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.6064, allocations: 3.938 kB / 0.6857 GB, free: 15.2 MB / 0.5261 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.0007906/0.6072, allocations: 453.5 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6073, allocations: 9.094 kB / 0.6861 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.6074, allocations: 21.05 kB / 0.6861 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.6078, allocations: 229.5 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.6078, allocations: 2.688 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.6078, allocations: 4.219 kB / 0.6864 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.6083, allocations: 116.5 kB / 0.6865 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6084, allocations: 3.984 kB / 0.6865 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.6084, allocations: 1.156 kB / 0.6865 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.772e-06/0.6084, allocations: 3.203 kB / 0.6865 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.6089, allocations: 83.09 kB / 0.6866 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.6099, allocations: 401.7 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.6102, allocations: 50.34 kB / 0.687 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.6103, allocations: 0 / 0.687 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.6107, allocations: 102.8 kB / 0.6871 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.359e-06/0.6107, allocations: 1 kB / 0.6871 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0008273/0.6116, allocations: 146.4 kB / 0.6872 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6116, allocations: 77.91 kB / 0.6873 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.6121, allocations: 254.6 kB / 0.6875 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6122, allocations: 25.7 kB / 0.6876 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6123, allocations: 127.7 kB / 0.6877 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.6123, allocations: 13.03 kB / 0.6877 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-06/0.6124, allocations: 0 / 0.6877 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.6125, allocations: 329.8 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.6127, allocations: 26.31 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.613, allocations: 57.91 kB / 0.6881 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.6133, allocations: 40.62 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-06/0.6133, allocations: 0 / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006023/0.6139, allocations: 123.2 kB / 0.6883 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6139, allocations: 5.703 kB / 0.6883 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.009e-06/0.614, allocations: 3.984 kB / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.614, allocations: 3.078 kB / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.6142, allocations: 18.17 kB / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.6142, allocations: 2.078 kB / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.6145, allocations: 21.94 kB / 0.6883 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.6145, allocations: 1.438 kB / 0.6883 GB, free: 13.12 MB / 0.5261 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.0001715/0.6147, allocations: 129.1 kB / 0.6884 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.6148, allocations: 19.3 kB / 0.6884 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.6148, allocations: 19.23 kB / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-06/0.6149, allocations: 0 / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-06/0.6149, allocations: 0.9062 kB / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-06/0.6149, allocations: 0 / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.6152, allocations: 217 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-06/0.6152, allocations: 4.797 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6154, allocations: 14.41 kB / 0.6887 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-06/0.6154, allocations: 10.09 kB / 0.6887 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6154, allocations: 0 / 0.6887 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.484e-06/0.6155, allocations: 5.281 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/0.6155, allocations: 0.5625 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.6161, allocations: 146 kB / 0.6888 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.6162, allocations: 96.39 kB / 0.6889 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.6162, allocations: 5.562 kB / 0.6889 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6164, allocations: 18.08 kB / 0.689 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.6165, allocations: 4.047 kB / 0.689 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.6166, allocations: 5.875 kB / 0.689 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003376/0.6169, allocations: 188.9 kB / 0.6891 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.53e-07/0.6169, allocations: 0 / 0.6891 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005373/0.6175, allocations: 22.2 kB / 0.6892 GB, free: 12.44 MB / 0.5261 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.0003399/0.6178, allocations: 126.2 kB / 0.6893 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005807/0.6184, allocations: 76.11 kB / 0.6894 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.972e-06/0.6185, allocations: 0 / 0.6894 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.6187, allocations: 34.5 kB / 0.6894 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.6192, allocations: 45.42 kB / 0.6894 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.6201, allocations: 315.4 kB / 0.6897 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.6204, allocations: 0.7241 MB / 0.6904 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.6205, allocations: 15.17 kB / 0.6905 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.6206, allocations: 20.03 kB / 0.6905 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of SimCode: time 2.065e-06/0.6207, allocations: 7.875 kB / 0.6905 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.008882/0.6295, allocations: 1.556 MB / 0.692 GB, free: 11.18 MB / 0.5261 GB