Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 113.9 kB / 17.04 MB, free: 5.812 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.001106/0.001106, allocations: 195 kB / 17.98 MB, free: 5.027 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.254/1.254, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6784/0.6784, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002322/0.3284, allocations: 1.407 MB / 0.5589 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000423/0.3288, allocations: 257.8 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.3289, allocations: 2.469 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.3289, allocations: 0 / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.577e-05/0.3289, allocations: 5.312 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3292, allocations: 60.27 kB / 0.5593 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.3293, allocations: 26.58 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.3294, allocations: 7.516 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.3294, allocations: 11.72 kB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.3294, allocations: 8.062 kB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.116e-06/0.3295, allocations: 1.281 kB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3296, allocations: 62.11 kB / 0.5594 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.3296, allocations: 11.34 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.3296, allocations: 8.078 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3298, allocations: 57.48 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3298, allocations: 1.062 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3298, allocations: 1.594 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3298, allocations: 0 / 0.5594 GB, free: 35.39 MB / 446.1 MB 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.0003239/0.3301, allocations: 343.5 kB / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.3301, allocations: 9.625 kB / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.3302, allocations: 9.594 kB / 0.5598 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.94e-05/0.3303, allocations: 165.7 kB / 0.5599 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.3303, allocations: 1.969 kB / 0.5599 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.3303, allocations: 2.625 kB / 0.56 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3304, allocations: 48.19 kB / 0.56 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3304, allocations: 1.281 kB / 0.56 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3305, allocations: 7.875 kB / 0.56 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3305, allocations: 12.33 kB / 0.56 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3306, allocations: 29.97 kB / 0.56 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.3308, allocations: 254.9 kB / 0.5603 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.331, allocations: 37.59 kB / 0.5603 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.331, allocations: 23.72 kB / 0.5603 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.3316, allocations: 459.4 kB / 0.5608 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.3316, allocations: 39.44 kB / 0.5608 GB, free: 33.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3316, allocations: 0 / 0.5608 GB, free: 33.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003093/0.3319, allocations: 79.31 kB / 0.5609 GB, free: 33.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.3319, allocations: 52.66 kB / 0.5609 GB, free: 33.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.332, allocations: 101.9 kB / 0.561 GB, free: 33.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.332, allocations: 26.27 kB / 0.5611 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.332, allocations: 90.58 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.3321, allocations: 5.953 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.3321, allocations: 12.56 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.3321, allocations: 314.2 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.3322, allocations: 18.23 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3323, allocations: 18.97 kB / 0.5615 GB, free: 33.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3324, allocations: 42.94 kB / 0.5616 GB, free: 33.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3324, allocations: 0.9688 kB / 0.5616 GB, free: 33.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000161/0.3326, allocations: 69.45 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3326, allocations: 6.438 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3326, allocations: 0.6094 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3326, allocations: 0.9688 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.3327, allocations: 9.781 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3327, allocations: 1.625 kB / 0.5616 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.3328, allocations: 10.45 kB / 0.5616 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3328, allocations: 1.25 kB / 0.5616 GB, free: 33.22 MB / 446.1 MB 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 4.199e-05/0.3328, allocations: 112.5 kB / 0.5618 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3329, allocations: 7.125 kB / 0.5618 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3331, allocations: 71.45 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3331, allocations: 1 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3331, allocations: 1.5 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3331, allocations: 1.609 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3332, allocations: 159.3 kB / 0.562 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3332, allocations: 3.938 kB / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3333, allocations: 11.64 kB / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3333, allocations: 0 / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3333, allocations: 5.281 kB / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3333, allocations: 0.5625 kB / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3333, allocations: 1.25 kB / 0.562 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3335, allocations: 169.6 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3335, allocations: 81.72 kB / 0.5622 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.3335, allocations: 1.156 kB / 0.5622 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3336, allocations: 8.672 kB / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3336, allocations: 2.641 kB / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.3336, allocations: 1.062 kB / 0.5623 GB, free: 32.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.342e-05/0.3337, allocations: 86.2 kB / 0.5623 GB, free: 32.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 0 / 0.5623 GB, free: 32.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.3339, allocations: 13.16 kB / 0.5624 GB, free: 32.54 MB / 446.1 MB 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.0001479/0.3341, allocations: 117.8 kB / 0.5625 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3343, allocations: 35.75 kB / 0.5625 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3343, allocations: 2.562 kB / 0.5625 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.3343, allocations: 23.75 kB / 0.5625 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3346, allocations: 8.234 kB / 0.5625 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.3348, allocations: 104.6 kB / 0.5626 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.403e-05/0.3349, allocations: 0.6772 MB / 0.5633 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.3349, allocations: 1.281 kB / 0.5633 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.3349, allocations: 9.375 kB / 0.5633 GB, free: 31.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3349, allocations: 0.5 kB / 0.5633 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002543/0.3375, allocations: 0.6648 MB / 0.564 GB, free: 31.57 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)