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.0009712/0.0009713, allocations: 98.05 kB / 16.67 MB, free: 6.277 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.001202/0.001202, allocations: 175.3 kB / 17.57 MB, free: 5.902 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.319/1.319, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7722/0.7722, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 16 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.377, allocations: 77.52 MB / 0.5606 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001559/0.3786, allocations: 1.15 MB / 0.5617 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.3792, allocations: 253.2 kB / 0.5619 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3792, allocations: 4.938 kB / 0.5619 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.3792, allocations: 0.8438 kB / 0.5619 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.3793, allocations: 2.312 kB / 0.5619 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3796, allocations: 51.97 kB / 0.562 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.3797, allocations: 23.03 kB / 0.562 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.3797, allocations: 4.984 kB / 0.562 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.3798, allocations: 4.328 kB / 0.562 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.3798, allocations: 15.27 kB / 0.562 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3798, allocations: 0 / 0.562 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.38, allocations: 70.72 kB / 0.5621 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.38, allocations: 4.406 kB / 0.5621 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3801, allocations: 31.89 kB / 0.5621 GB, free: 34.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3802, allocations: 32.77 kB / 0.5622 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3802, allocations: 1.156 kB / 0.5622 GB, free: 34.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3802, allocations: 1.641 kB / 0.5622 GB, free: 34.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3802, allocations: 0 / 0.5622 GB, free: 34.55 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.0003802/0.3806, allocations: 346.4 kB / 0.5625 GB, free: 34.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3806, allocations: 13.84 kB / 0.5625 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.3807, allocations: 5.562 kB / 0.5625 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.852e-05/0.3807, allocations: 168.3 kB / 0.5627 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3808, allocations: 1.875 kB / 0.5627 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.3808, allocations: 5.719 kB / 0.5627 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.381, allocations: 63.19 kB / 0.5628 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.381, allocations: 2.531 kB / 0.5628 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.381, allocations: 3.938 kB / 0.5628 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.381, allocations: 1.5 kB / 0.5628 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3812, allocations: 43.08 kB / 0.5628 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.3815, allocations: 253.9 kB / 0.563 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3816, allocations: 47.3 kB / 0.5631 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.3817, allocations: 29.72 kB / 0.5631 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/0.3823, allocations: 461.2 kB / 0.5636 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3823, allocations: 38.77 kB / 0.5636 GB, free: 33.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3823, allocations: 0 / 0.5636 GB, free: 33.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.3827, allocations: 91.81 kB / 0.5637 GB, free: 33.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3827, allocations: 56.81 kB / 0.5637 GB, free: 32.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.3828, allocations: 101.2 kB / 0.5638 GB, free: 32.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3828, allocations: 27.08 kB / 0.5639 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.3828, allocations: 86.16 kB / 0.5639 GB, free: 32.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.3829, allocations: 6.047 kB / 0.564 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.3829, allocations: 10.88 kB / 0.564 GB, free: 32.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.3829, allocations: 314.5 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.383, allocations: 23.34 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3831, allocations: 22.22 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3833, allocations: 49.11 kB / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3833, allocations: 0 / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.3835, allocations: 88.56 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3835, allocations: 5.469 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3835, allocations: 0 / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3835, allocations: 0 / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.3836, allocations: 18.11 kB / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3836, allocations: 0 / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.3837, allocations: 14.91 kB / 0.5645 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3837, allocations: 1.312 kB / 0.5645 GB, free: 32.37 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 5.126e-05/0.3838, allocations: 111.9 kB / 0.5646 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.3838, allocations: 2.266 kB / 0.5646 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.384, allocations: 83.59 kB / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.384, allocations: 0 / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3841, allocations: 5.594 kB / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3841, allocations: 0.6562 kB / 0.5647 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.3842, allocations: 160.6 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3842, allocations: 1.062 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.3843, allocations: 12.75 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3843, allocations: 4.828 kB / 0.5648 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3843, allocations: 1.656 kB / 0.5648 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3843, allocations: 0 / 0.5648 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3843, allocations: 1.75 kB / 0.5648 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3845, allocations: 178.7 kB / 0.565 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.3846, allocations: 83.72 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3846, allocations: 1.5 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.3847, allocations: 9.75 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.3847, allocations: 2.734 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3847, allocations: 2.062 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.3847, allocations: 83.55 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3847, allocations: 3.938 kB / 0.5652 GB, free: 31.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.385, allocations: 15.86 kB / 0.5652 GB, free: 31.69 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.0001753/0.3852, allocations: 114.9 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3854, allocations: 52.42 kB / 0.5654 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.3854, allocations: 1.062 kB / 0.5654 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.3855, allocations: 26.03 kB / 0.5654 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3857, allocations: 7.453 kB / 0.5654 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.386, allocations: 132.5 kB / 0.5655 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3861, allocations: 0.6764 MB / 0.5662 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.3861, allocations: 13.67 kB / 0.5662 GB, free: 30.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3862, allocations: 0.75 kB / 0.5662 GB, free: 30.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002446/0.3886, allocations: 0.7654 MB / 0.5669 GB, free: 30.72 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)