Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.523/1.523, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009608/0.0009609, allocations: 184.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.0008369, allocations: 84.86 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.632e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6825, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.8752, allocations: 138.4 MB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.8755, allocations: 75.95 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004307/0.8799, allocations: 1.521 MB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8799, allocations: 1.688 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.8799, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 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.0003563/0.8803, allocations: 344.3 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8803, allocations: 14.5 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.8803, allocations: 0 / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.8805, allocations: 178.9 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8805, allocations: 0 / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.8805, allocations: 4 kB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.543e-05/0.8806, allocations: 4 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.428e-05/0.8807, allocations: 39.16 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8807, allocations: 0 / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8807, allocations: 0 / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8807, allocations: 4 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.8811, allocations: 244 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.8811, allocations: 30.52 kB / 1.111 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.8812, allocations: 12.08 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.8817, allocations: 441.5 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.8818, allocations: 31.41 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.8818, allocations: 2.156 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.8819, allocations: 42.56 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.882, allocations: 51.41 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.8821, allocations: 94.28 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.8821, allocations: 25.7 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.8821, allocations: 89.14 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.8821, allocations: 3.906 kB / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.8822, allocations: 0 / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.8823, allocations: 322.9 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.8823, allocations: 14.44 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.8823, allocations: 4 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.8823, allocations: 7.953 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8823, allocations: 0 / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.033e-05/0.8824, allocations: 41.7 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8824, allocations: 4 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8825, allocations: 192 / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8825, allocations: 96 / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.8826, allocations: 15.98 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8826, allocations: 4 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.8826, allocations: 11.97 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.8827, allocations: 0 / 1.112 GB, free: 7.977 MB / 0.7136 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 6.44e-05/0.8827, allocations: 108.9 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.8827, allocations: 3.906 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.8829, allocations: 55.53 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8829, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8829, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8829, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.883, allocations: 138.2 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.883, allocations: 3.984 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.8831, allocations: 12 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8831, allocations: 3.953 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.8831, allocations: 0 / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8831, allocations: 4.031 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8831, allocations: 0 / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.8832, allocations: 135.5 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.8833, allocations: 81.05 kB / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.8833, allocations: 3.953 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.8834, allocations: 12.67 kB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.8834, allocations: 4.031 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.8834, allocations: 0 / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.8835, allocations: 87.27 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8835, allocations: 0 / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002325/0.8837, allocations: 23.94 kB / 1.113 GB, free: 7.227 MB / 0.7136 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.0002349/0.884, allocations: 123.2 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.8841, allocations: 12 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8841, allocations: 3.938 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.8841, allocations: 11 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.8843, allocations: 0 / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.8845, allocations: 63.88 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.8847, allocations: 0.6808 MB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.8847, allocations: 3.625 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.8847, allocations: 7.438 kB / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8847, allocations: 0 / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.002429/0.8872, allocations: 0.5238 MB / 1.114 GB, free: 5.773 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)