Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.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.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.399/2.399, allocations: 253.2 MB / 260.6 MB, free: 7.395 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.002059/0.002059, allocations: 185.8 kB / 319.9 MB, free: 3.082 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.088/2.088, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001141/0.001141, allocations: 94.2 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.018e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9082/1.155, allocations: 131.9 MB / 1.017 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.155, allocations: 81.19 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007026/1.162, allocations: 1.548 MB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.162, allocations: 0 / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.162, allocations: 0 / 1.019 GB, free: 4.145 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004666/1.163, allocations: 361.8 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.163, allocations: 12.02 kB / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/1.163, allocations: 0 / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.163, allocations: 174.9 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.163, allocations: 0 / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/1.163, allocations: 0 / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.966e-05/1.163, allocations: 11.5 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/1.163, allocations: 37.38 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.163, allocations: 4 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.163, allocations: 0 / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.163, allocations: 0 / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/1.164, allocations: 240.6 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/1.164, allocations: 26.33 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/1.164, allocations: 16.95 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008801/1.165, allocations: 449.3 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.165, allocations: 30.56 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/1.165, allocations: 4 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/1.165, allocations: 40.42 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.165, allocations: 58.91 kB / 1.02 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/1.165, allocations: 92.98 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/1.165, allocations: 25.7 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/1.165, allocations: 84.08 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/1.165, allocations: 3.906 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.165, allocations: 3.938 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.166, allocations: 319.6 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/1.166, allocations: 9.719 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/1.166, allocations: 4 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/1.166, allocations: 11.48 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.166, allocations: 3.938 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/1.166, allocations: 33.7 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.166, allocations: 5.406 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.166, allocations: 0 / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.166, allocations: 7.938 kB / 1.021 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/1.166, allocations: 19.52 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/1.166, allocations: 0 / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/1.166, allocations: 7.984 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/1.166, allocations: 4 kB / 1.021 GB, free: 1.844 MB / 0.6355 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 () * 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 7.755e-05/1.166, allocations: 104.9 kB / 1.021 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/1.166, allocations: 0 / 1.021 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/1.166, allocations: 56.83 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/1.166, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.166, allocations: 7.625 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.167, allocations: 0 / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.167, allocations: 137.8 kB / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.167, allocations: 0 / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.167, allocations: 11.98 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.167, allocations: 0 / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/1.167, allocations: 0 / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.167, allocations: 0 / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.167, allocations: 4.031 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/1.167, allocations: 143.1 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/1.167, allocations: 84.88 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.167, allocations: 0 / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.167, allocations: 11.98 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/1.167, allocations: 0 / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/1.167, allocations: 4.031 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.663e-05/1.167, allocations: 79.28 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.167, allocations: 0 / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003644/1.168, allocations: 31.92 kB / 1.022 GB, free: 1.109 MB / 0.6355 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 () * 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.0003106/1.168, allocations: 133 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/1.168, allocations: 11.56 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.168, allocations: 0 / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/1.168, allocations: 11.88 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/1.168, allocations: 4 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/1.169, allocations: 59.3 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/1.169, allocations: 0.6768 MB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.41e-05/1.169, allocations: 8.125 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/1.169, allocations: 7.438 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/1.169, allocations: 0 / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of Templates: time 0.003438/1.173, allocations: 0.5347 MB / 1.023 GB, free: 15.64 MB / 0.6511 GB