Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005954/0.005954, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.000364, allocations: 14.03 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002239/0.3722, allocations: 1.162 MB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.373, allocations: 247.4 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3731, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.3731, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.3732, allocations: 3.938 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3737, allocations: 43.91 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.3738, allocations: 31.91 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.3738, allocations: 0 / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.3739, allocations: 11.98 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.374, allocations: 7.938 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.374, allocations: 0 / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.3742, allocations: 67.88 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.3742, allocations: 0 / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.3743, allocations: 37.62 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3745, allocations: 55.8 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3745, allocations: 0 / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3745, allocations: 4 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3745, allocations: 0 / 1.076 GB, free: 5.879 MB / 0.8262 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.0005718/0.3751, allocations: 339.8 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3751, allocations: 12.03 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3752, allocations: 4.844 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3754, allocations: 172.4 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3754, allocations: 4.375 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3754, allocations: 384 / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3757, allocations: 54.23 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3757, allocations: 192 / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3757, allocations: 3.938 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3757, allocations: 3.938 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.376, allocations: 43.97 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3764, allocations: 245 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3766, allocations: 50.5 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3768, allocations: 28.89 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.3777, allocations: 465.4 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3777, allocations: 34.5 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3778, allocations: 0 / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005543/0.3783, allocations: 105.6 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3784, allocations: 51.41 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3785, allocations: 97.86 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3785, allocations: 25.7 kB / 1.077 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3786, allocations: 92.03 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3786, allocations: 0 / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3787, allocations: 9.844 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3788, allocations: 318.8 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.379, allocations: 19.98 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3791, allocations: 27.91 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.3794, allocations: 52.89 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3794, allocations: 0 / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003517/0.3798, allocations: 85.5 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3798, allocations: 7.938 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3798, allocations: 0 / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3798, allocations: 0 / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.38, allocations: 11.98 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.38, allocations: 0 / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.3801, allocations: 12.03 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3801, allocations: 0 / 1.078 GB, free: 3.23 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.3802, allocations: 117.8 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3803, allocations: 7.922 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.3807, allocations: 80.78 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3807, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3807, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3807, allocations: 0 / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3809, allocations: 157.6 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.381, allocations: 0 / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.3811, allocations: 11.98 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3811, allocations: 4 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3811, allocations: 0 / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3811, allocations: 4.031 kB / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3811, allocations: 0 / 1.078 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.3815, allocations: 175.4 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.3816, allocations: 88.98 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3816, allocations: 4 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3817, allocations: 7.984 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.3818, allocations: 8 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3818, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3818, allocations: 83.27 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3819, allocations: 0 / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004412/0.3823, allocations: 16 kB / 1.079 GB, free: 2.379 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003017/0.3826, allocations: 119.2 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.383, allocations: 47.97 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.383, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3831, allocations: 27.92 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3836, allocations: 9.172 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.3839, allocations: 112.8 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3843, allocations: 0.677 MB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.3844, allocations: 4 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.3844, allocations: 11.44 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3844, allocations: 0 / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of Templates: time 0.003813/0.3882, allocations: 0.5785 MB / 1.08 GB, free: 0.7383 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)