Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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/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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 113.6 kB / 17.04 MB, free: 5.355 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.0009618/0.000962, allocations: 193.9 kB / 17.98 MB, free: 4.895 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.267/1.267, 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.7153/0.7153, allocations: 115.1 MB / 407 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3464, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001674/0.3482, allocations: 0.5753 MB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.3486, allocations: 188.8 kB / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-06/0.3486, allocations: 0 / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3486, allocations: 1.156 kB / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-06/0.3486, allocations: 0 / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3489, allocations: 48.55 kB / 0.5584 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.183e-05/0.349, allocations: 4.391 kB / 0.5584 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.349, allocations: 5.453 kB / 0.5584 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.1e-05/0.349, allocations: 0 / 0.5584 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.567e-05/0.3491, allocations: 2.281 kB / 0.5584 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.3491, allocations: 0 / 0.5584 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3492, allocations: 61.09 kB / 0.5584 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.3492, allocations: 1.906 kB / 0.5584 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.324e-05/0.3492, allocations: 0 / 0.5584 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.3493, allocations: 39.27 kB / 0.5585 GB, free: 36.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3494, allocations: 1.125 kB / 0.5585 GB, free: 36.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3494, allocations: 0 / 0.5585 GB, free: 36.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3494, allocations: 4.469 kB / 0.5585 GB, free: 36.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001919/0.3496, allocations: 316.9 kB / 0.5588 GB, free: 35.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.3496, allocations: 9.406 kB / 0.5588 GB, free: 35.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.3496, allocations: 3.547 kB / 0.5588 GB, free: 35.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.07e-05/0.3497, allocations: 161.4 kB / 0.559 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3497, allocations: 1.344 kB / 0.559 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.3497, allocations: 1.438 kB / 0.559 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.3498, allocations: 33.84 kB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.3498, allocations: 1.156 kB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.3498, allocations: 5.391 kB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3498, allocations: 6.359 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.3498, allocations: 1.188 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.182e-05/0.3499, allocations: 150.2 kB / 0.5591 GB, free: 35.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.618e-05/0.35, allocations: 16.48 kB / 0.5592 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.35, allocations: 7.297 kB / 0.5592 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/0.3505, allocations: 456.9 kB / 0.5596 GB, free: 34.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3505, allocations: 36.09 kB / 0.5596 GB, free: 34.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3506, allocations: 2.312 kB / 0.5596 GB, free: 34.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001/0.3507, allocations: 36.64 kB / 0.5597 GB, free: 34.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.3507, allocations: 51.41 kB / 0.5597 GB, free: 34.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.498e-05/0.3507, allocations: 91.39 kB / 0.5598 GB, free: 34.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.3507, allocations: 31.27 kB / 0.5598 GB, free: 34.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.3507, allocations: 80.14 kB / 0.5599 GB, free: 34.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.3508, allocations: 1.344 kB / 0.5599 GB, free: 34.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.3508, allocations: 16.31 kB / 0.5599 GB, free: 34.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.3508, allocations: 313.1 kB / 0.5602 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.3508, allocations: 1.156 kB / 0.5602 GB, free: 34.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.3509, allocations: 3.719 kB / 0.5602 GB, free: 34.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.3509, allocations: 12.14 kB / 0.5602 GB, free: 34.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3509, allocations: 0.5 kB / 0.5602 GB, free: 34.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.874e-05/0.3509, allocations: 35.77 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3509, allocations: 6.062 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.351, allocations: 0.8438 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.351, allocations: 5.281 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.351, allocations: 2.375 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.351, allocations: 5.25 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.351, allocations: 2.062 kB / 0.5603 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.351, allocations: 0 / 0.5603 GB, free: 34.18 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 (1): * Single equations (assignments): 1 * 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 3.62e-05/0.3511, allocations: 109 kB / 0.5604 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.3511, allocations: 4.312 kB / 0.5604 GB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.3512, allocations: 52.8 kB / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3512, allocations: 0 / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3512, allocations: 0 / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3512, allocations: 1 kB / 0.5605 GB, free: 34.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.658e-05/0.3512, allocations: 144.9 kB / 0.5606 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3512, allocations: 0 / 0.5606 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.3512, allocations: 5.344 kB / 0.5606 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3513, allocations: 1.906 kB / 0.5606 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3513, allocations: 6.375 kB / 0.5606 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3513, allocations: 0.9062 kB / 0.5606 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3513, allocations: 0 / 0.5606 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.658e-05/0.3513, allocations: 64.94 kB / 0.5607 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3513, allocations: 81.05 kB / 0.5608 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.3514, allocations: 5.891 kB / 0.5608 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.3514, allocations: 1.438 kB / 0.5608 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.3514, allocations: 2.344 kB / 0.5608 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.3514, allocations: 0 / 0.5608 GB, free: 33.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.3514, allocations: 77.22 kB / 0.5608 GB, free: 33.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 0 / 0.5608 GB, free: 33.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.3516, allocations: 11.28 kB / 0.5608 GB, free: 33.57 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 (1): * Single equations (assignments): 1 * 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.0001577/0.3518, allocations: 121.8 kB / 0.561 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.441e-05/0.3518, allocations: 6.422 kB / 0.561 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3518, allocations: 0 / 0.561 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.3518, allocations: 6.188 kB / 0.561 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.352, allocations: 7.609 kB / 0.561 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.3521, allocations: 78.66 kB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.3522, allocations: 0.673 MB / 0.5617 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.3522, allocations: 0 / 0.5617 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-06/0.3522, allocations: 9.312 kB / 0.5617 GB, free: 32.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3522, allocations: 0 / 0.5617 GB, free: 32.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002275/0.3545, allocations: 411.4 kB / 0.5621 GB, free: 32.63 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)