Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.424/2.424, allocations: 253.2 MB / 260.6 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002003/0.002003, allocations: 180.8 kB / 319.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 94.62 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.229e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9014/1.107, allocations: 133.7 MB / 1.019 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004329/1.107, allocations: 82.5 kB / 1.019 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.023/1.13, allocations: 3.256 MB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.13, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.514e-05/1.131, allocations: 7.938 kB / 1.022 GB, free: 0.7578 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.0009925/1.132, allocations: 429.2 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.132, allocations: 12.02 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/1.132, allocations: 16.38 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/1.132, allocations: 237.5 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.132, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/1.132, allocations: 4 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002325/1.133, allocations: 35.17 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.133, allocations: 78.23 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.133, allocations: 7.984 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/1.133, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.133, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/1.134, allocations: 366.4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.135, allocations: 21.45 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/1.135, allocations: 16.09 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.135, allocations: 3.953 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/1.135, allocations: 84.23 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 3.687e-06/1.135, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002939/1.135, allocations: 52.73 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.135, allocations: 81.09 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/1.136, allocations: 204 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.136, allocations: 25.7 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.136, allocations: 126.4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/1.136, allocations: 11.89 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/1.136, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.137, allocations: 329.1 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/1.137, allocations: 6.812 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/1.137, allocations: 30.38 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/1.137, allocations: 14.8 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.137, allocations: 3.938 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002892/1.137, allocations: 72.53 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.137, allocations: 7.953 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.137, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.137, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/1.138, allocations: 15.98 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.138, allocations: 3.938 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.138, allocations: 20.08 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/1.138, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 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 0.000138/1.138, allocations: 105 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/1.138, allocations: 11.81 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/1.138, allocations: 25.06 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.138, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.138, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.138, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/1.139, allocations: 197.8 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.139, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.139, allocations: 20.12 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.139, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.139, allocations: 7.922 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.139, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/1.139, allocations: 3.953 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/1.139, allocations: 87.61 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.14, allocations: 91.64 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/1.14, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/1.14, allocations: 15.98 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/1.14, allocations: 6.984 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/1.14, allocations: 7.953 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003185/1.14, allocations: 161.6 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.32e-07/1.14, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005254/1.141, allocations: 27.72 kB / 1.025 GB, free: 13.64 MB / 0.6511 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.0004322/1.141, allocations: 130.9 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002122/1.142, allocations: 23.17 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.142, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/1.142, allocations: 11.94 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/1.142, allocations: 34.95 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/1.143, allocations: 187.2 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.144, allocations: 0.7236 MB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000206/1.144, allocations: 16.64 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/1.144, allocations: 19.44 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of SimCode: time 5.13e-06/1.144, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.009595/1.154, allocations: 1.455 MB / 1.028 GB, free: 11.05 MB / 0.6511 GB