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.01043/0.01044, allocations: 222.9 kB / 15.17 MB, free: 6 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.001101/0.001101, allocations: 183 kB / 16.07 MB, free: 5.867 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 3.835/3.835, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.579/4.579, allocations: 472.3 MB / 0.9018 GB, free: 3.621 MB / 0.5573 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005093, allocations: 15.94 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6127/0.6132, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00193/0.6152, allocations: 1.323 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.6161, allocations: 0.53 MB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.6162, allocations: 7.531 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.6164, allocations: 20.39 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.6167, allocations: 59.44 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.6169, allocations: 51.7 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.617, allocations: 118.1 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.6172, allocations: 43.88 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.6173, allocations: 37.86 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.6174, allocations: 45.7 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.6175, allocations: 4.094 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.6175, allocations: 14.31 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.6176, allocations: 42.42 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.6177, allocations: 45.23 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.6178, allocations: 96.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.993e-06/0.6179, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.007e-06/0.6179, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.153e-06/0.6179, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0005357/0.6184, allocations: 451.3 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6185, allocations: 9.844 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.6185, allocations: 20.33 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.6188, allocations: 231 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6188, allocations: 6.469 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.6188, allocations: 3.656 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.6192, allocations: 119.8 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.162e-06/0.6192, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.6192, allocations: 5.562 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-06/0.6193, allocations: 1.562 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.6196, allocations: 83.25 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.6202, allocations: 402.9 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.6204, allocations: 41.33 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.6206, allocations: 37.3 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.6206, allocations: 2.75 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.6209, allocations: 111 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.671e-06/0.6209, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005195/0.6214, allocations: 137.6 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.6215, allocations: 77.72 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.6218, allocations: 263.3 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6218, allocations: 27.02 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.6219, allocations: 123.5 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.622, allocations: 10.91 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-06/0.622, allocations: 1.312 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.6221, allocations: 327.4 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.6222, allocations: 34.62 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.6224, allocations: 56.56 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.6225, allocations: 36.86 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-06/0.6225, allocations: 5.266 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000358/0.6229, allocations: 118.8 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6229, allocations: 9 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.89e-06/0.623, allocations: 2.844 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.623, allocations: 1.375 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.6231, allocations: 17.41 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-06/0.6231, allocations: 1.312 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.6233, allocations: 23.5 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6233, allocations: 1.156 kB / 1.109 GB, free: 209.6 MB / 0.7292 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.0001091/0.6234, allocations: 131.9 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.6235, allocations: 20.14 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.6235, allocations: 22.78 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-06/0.6235, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-06/0.6236, allocations: 2.469 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-06/0.6236, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.6237, allocations: 214 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-06/0.6238, allocations: 3.438 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.6239, allocations: 17.41 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.695e-06/0.6239, allocations: 1.828 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-06/0.6239, allocations: 1 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-06/0.6239, allocations: 1.094 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-06/0.6239, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.6243, allocations: 144 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.6244, allocations: 92.25 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.6244, allocations: 6.891 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6245, allocations: 20.36 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.6246, allocations: 4.219 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.6247, allocations: 5.844 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002133/0.6249, allocations: 191.7 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.24e-07/0.6249, allocations: 3.656 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003193/0.6252, allocations: 26.97 kB / 1.11 GB, free: 209 MB / 0.7292 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.0002426/0.6255, allocations: 126 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.6259, allocations: 71.53 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.389e-06/0.6259, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.626, allocations: 42.73 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.6264, allocations: 39.75 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.627, allocations: 315.7 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.6273, allocations: 0.7245 MB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.6274, allocations: 14.64 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.6274, allocations: 17.91 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.59e-06/0.6274, allocations: 3.5 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.005982/0.6334, allocations: 1.56 MB / 1.113 GB, free: 207.9 MB / 0.7292 GB