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.004321/0.004325, allocations: 240.5 kB / 15.81 MB, free: 6.277 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.001167/0.001167, allocations: 184.7 kB / 16.69 MB, free: 5.449 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 4.194/4.194, allocations: 389.1 MB / 406.5 MB, free: 11.77 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 4.586/4.586, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004634, allocations: 8.219 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1797, allocations: 98.73 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.001974/0.1818, allocations: 1.32 MB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1829, allocations: 0.529 MB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.183, allocations: 7.5 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1832, allocations: 23.8 kB / 1.106 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1835, allocations: 59.67 kB / 1.107 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1837, allocations: 47.94 kB / 1.107 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1839, allocations: 115.5 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1841, allocations: 44.17 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1842, allocations: 43.72 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1843, allocations: 51.77 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1844, allocations: 0 / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.1845, allocations: 15.98 kB / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1845, allocations: 39.84 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1846, allocations: 44.94 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1848, allocations: 95.83 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1848, allocations: 0 / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1848, allocations: 0 / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1848, allocations: 0 / 1.107 GB, free: 39.7 MB / 0.6042 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.000639/0.1855, allocations: 464.6 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1855, allocations: 8.031 kB / 1.107 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.1856, allocations: 15.81 kB / 1.107 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1858, allocations: 219.7 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1859, allocations: 6.562 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1859, allocations: 11.94 kB / 1.108 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.1863, allocations: 105.6 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1863, allocations: 3.469 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1864, allocations: 11.95 kB / 1.108 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1864, allocations: 3.984 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1868, allocations: 77.19 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.1875, allocations: 399 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1878, allocations: 42.56 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.188, allocations: 39.89 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.188, allocations: 3.938 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.1884, allocations: 113.5 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.1884, allocations: 0 / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006817/0.1891, allocations: 144.9 kB / 1.109 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.1891, allocations: 77.98 kB / 1.109 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1894, allocations: 249 kB / 1.109 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1895, allocations: 28.3 kB / 1.109 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1896, allocations: 132 kB / 1.109 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1896, allocations: 7.844 kB / 1.109 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.1896, allocations: 0 / 1.109 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.1897, allocations: 334.7 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1899, allocations: 39.75 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1901, allocations: 60.61 kB / 1.109 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1903, allocations: 27.97 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1903, allocations: 4 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004447/0.1908, allocations: 119.6 kB / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1908, allocations: 4 kB / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1908, allocations: 4 kB / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1909, allocations: 0 / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.191, allocations: 15.98 kB / 1.11 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1911, allocations: 0 / 1.11 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1912, allocations: 27.11 kB / 1.11 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1912, allocations: 0 / 1.11 GB, free: 36.76 MB / 0.6042 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.0001167/0.1914, allocations: 133.7 kB / 1.11 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1914, allocations: 15.81 kB / 1.11 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.1915, allocations: 21.23 kB / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1915, allocations: 0 / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1915, allocations: 7.438 kB / 1.11 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1915, allocations: 96.91 kB / 1.11 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.1916, allocations: 0 / 1.11 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1917, allocations: 15.98 kB / 1.11 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1918, allocations: 7.953 kB / 1.11 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000512/0.1923, allocations: 186.3 kB / 1.11 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004632/0.1928, allocations: 286.5 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002008/0.193, allocations: 39.16 kB / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000206/0.1932, allocations: 188.4 kB / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of Backend: time 8.42e-07/0.1933, allocations: 0 / 1.111 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008438/0.1941, allocations: 167 kB / 1.111 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007799/0.1949, allocations: 0.7738 MB / 1.112 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.00643/0.2014, allocations: 1.712 MB / 1.113 GB, free: 33.21 MB / 0.6042 GB