Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.003/5.003, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002676/0.002675, allocations: 358.3 kB / 0.6446 GB, free: 21.58 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.432/4.432, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001829/0.001829, allocations: 184.4 kB / 1.226 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 16.41 kB / 1.349 GB, free: 320.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.4313, allocations: 138 MB / 1.596 GB, free: 82.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.4316, allocations: 79.95 kB / 1.596 GB, free: 82.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.006317/0.438, allocations: 1.529 MB / 1.598 GB, free: 81.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.545e-06/0.438, allocations: 3.938 kB / 1.598 GB, free: 81.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.438, allocations: 0 / 1.598 GB, free: 81.01 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004006/0.4384, allocations: 357 kB / 1.598 GB, free: 80.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4385, allocations: 9.812 kB / 1.598 GB, free: 80.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.4385, allocations: 0 / 1.598 GB, free: 80.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.4386, allocations: 171 kB / 1.598 GB, free: 80.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4387, allocations: 8.609 kB / 1.598 GB, free: 80.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.4387, allocations: 0.6562 kB / 1.598 GB, free: 80.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.4389, allocations: 56.83 kB / 1.598 GB, free: 80.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4389, allocations: 0 / 1.598 GB, free: 80.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.439, allocations: 0 / 1.598 GB, free: 80.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.439, allocations: 3.984 kB / 1.598 GB, free: 80.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.4393, allocations: 41.59 kB / 1.598 GB, free: 80.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.4397, allocations: 272.1 kB / 1.598 GB, free: 79.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.4399, allocations: 48.22 kB / 1.599 GB, free: 79.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4401, allocations: 24.91 kB / 1.599 GB, free: 79.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006779/0.4408, allocations: 442.4 kB / 1.599 GB, free: 79.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4408, allocations: 35.31 kB / 1.599 GB, free: 79.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4408, allocations: 0 / 1.599 GB, free: 79.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0005336/0.4414, allocations: 101 kB / 1.599 GB, free: 79.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4414, allocations: 52.03 kB / 1.599 GB, free: 79.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.4415, allocations: 102.5 kB / 1.599 GB, free: 79.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.4415, allocations: 30.36 kB / 1.599 GB, free: 79.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.4416, allocations: 85.02 kB / 1.599 GB, free: 78.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4416, allocations: 3.938 kB / 1.599 GB, free: 78.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.4416, allocations: 0 / 1.599 GB, free: 78.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.4417, allocations: 323.7 kB / 1.6 GB, free: 78.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4418, allocations: 21.55 kB / 1.6 GB, free: 78.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.442, allocations: 21.33 kB / 1.6 GB, free: 78.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4421, allocations: 21.92 kB / 1.6 GB, free: 78.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4421, allocations: 0 / 1.6 GB, free: 78.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003169/0.4425, allocations: 84 kB / 1.6 GB, free: 78.47 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4425, allocations: 11.41 kB / 1.6 GB, free: 78.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4425, allocations: 4 kB / 1.6 GB, free: 78.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4425, allocations: 0 / 1.6 GB, free: 78.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4427, allocations: 11.98 kB / 1.6 GB, free: 78.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4427, allocations: 0 / 1.6 GB, free: 78.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.4428, allocations: 4 kB / 1.6 GB, free: 78.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4428, allocations: 7.984 kB / 1.6 GB, free: 78.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.328e-05/0.4429, allocations: 112 kB / 1.6 GB, free: 78.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.4429, allocations: 0 / 1.6 GB, free: 78.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.4433, allocations: 87.41 kB / 1.6 GB, free: 78.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4433, allocations: 4.469 kB / 1.6 GB, free: 78.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4433, allocations: 0 / 1.6 GB, free: 78.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4433, allocations: 5.656 kB / 1.6 GB, free: 78.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4435, allocations: 165.5 kB / 1.6 GB, free: 78.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4435, allocations: 0 / 1.6 GB, free: 78.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.4436, allocations: 13.81 kB / 1.6 GB, free: 78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4436, allocations: 0 / 1.6 GB, free: 78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4436, allocations: 0 / 1.6 GB, free: 78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4437, allocations: 0 / 1.6 GB, free: 78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4437, allocations: 3.984 kB / 1.6 GB, free: 77.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4441, allocations: 175 kB / 1.6 GB, free: 77.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4441, allocations: 86.16 kB / 1.6 GB, free: 77.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4441, allocations: 0 / 1.6 GB, free: 77.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4442, allocations: 9.719 kB / 1.601 GB, free: 77.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.4443, allocations: 3.984 kB / 1.601 GB, free: 77.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.4443, allocations: 0 / 1.601 GB, free: 77.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.4444, allocations: 83.45 kB / 1.601 GB, free: 77.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.094e-06/0.4444, allocations: 0.5 kB / 1.601 GB, free: 77.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003376/0.4447, allocations: 32.47 kB / 1.601 GB, free: 77.58 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002931/0.445, allocations: 129.9 kB / 1.601 GB, free: 77.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.4454, allocations: 50.23 kB / 1.601 GB, free: 77.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4454, allocations: 5.125 kB / 1.601 GB, free: 77.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.4456, allocations: 24.86 kB / 1.601 GB, free: 77.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.4459, allocations: 5.516 kB / 1.601 GB, free: 77.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.4462, allocations: 109.2 kB / 1.601 GB, free: 77.24 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4464, allocations: 0.6778 MB / 1.602 GB, free: 76.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.4464, allocations: 0 / 1.602 GB, free: 76.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.4465, allocations: 12.91 kB / 1.602 GB, free: 76.53 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.4465, allocations: 0 / 1.602 GB, free: 76.53 MB / 0.8073 GB Notification: Performance of Templates: time 0.003332/0.4498, allocations: 0.5586 MB / 1.602 GB, free: 76 MB / 0.8073 GB