Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 65.06 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3638, allocations: 80.21 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.002205/0.3661, allocations: 0.5667 MB / 0.5808 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006809/0.3668, allocations: 301.7 kB / 0.5811 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.3668, allocations: 0 / 0.5811 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.078e-05/0.3668, allocations: 0.5625 kB / 0.5811 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.598e-06/0.3668, allocations: 0 / 0.5811 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.3673, allocations: 107.4 kB / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.184e-05/0.3673, allocations: 2.344 kB / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3673, allocations: 2.281 kB / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.145e-05/0.3674, allocations: 0 / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.3674, allocations: 5.062 kB / 0.5812 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.3674, allocations: 0 / 0.5812 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3677, allocations: 131.8 kB / 0.5813 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.3677, allocations: 0 / 0.5813 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.3677, allocations: 5.094 kB / 0.5813 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3678, allocations: 77.27 kB / 0.5814 GB, free: 3.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3678, allocations: 0 / 0.5814 GB, free: 3.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3679, allocations: 1.266 kB / 0.5814 GB, free: 3.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3679, allocations: 0 / 0.5814 GB, free: 3.902 MB / 430.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.0001987/0.3681, allocations: 323.1 kB / 0.5817 GB, free: 3.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3681, allocations: 14.06 kB / 0.5817 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.226e-05/0.3681, allocations: 35.41 kB / 0.5817 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.807e-05/0.3682, allocations: 1.719 kB / 0.5817 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.364e-05/0.3682, allocations: 161.7 kB / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3682, allocations: 1.531 kB / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.3682, allocations: 384 / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.927e-05/0.3683, allocations: 28.61 kB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3683, allocations: 5.578 kB / 0.5819 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.3683, allocations: 0 / 0.5819 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3683, allocations: 4 kB / 0.5819 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.3684, allocations: 6.922 kB / 0.5819 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.418e-05/0.3684, allocations: 147.9 kB / 0.5821 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.682e-05/0.3685, allocations: 16.88 kB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.3685, allocations: 5.984 kB / 0.5821 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.3692, allocations: 476.8 kB / 0.5825 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.3692, allocations: 32 kB / 0.5826 GB, free: 2.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3692, allocations: 0.6875 kB / 0.5826 GB, free: 2.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.3693, allocations: 39.67 kB / 0.5826 GB, free: 2.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.3693, allocations: 56.25 kB / 0.5827 GB, free: 2.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.344e-05/0.3693, allocations: 89.86 kB / 0.5828 GB, free: 2.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.3693, allocations: 27 kB / 0.5828 GB, free: 2.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.05e-05/0.3694, allocations: 84.08 kB / 0.5829 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3694, allocations: 4.656 kB / 0.5829 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.3694, allocations: 16.73 kB / 0.5829 GB, free: 2.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.3695, allocations: 311.5 kB / 0.5832 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.3695, allocations: 0.6562 kB / 0.5832 GB, free: 1.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.3695, allocations: 6.5 kB / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.3695, allocations: 7.969 kB / 0.5832 GB, free: 1.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3695, allocations: 4 kB / 0.5832 GB, free: 1.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.122e-05/0.3696, allocations: 36.89 kB / 0.5832 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3696, allocations: 4.875 kB / 0.5832 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3696, allocations: 3.938 kB / 0.5832 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3696, allocations: 1.672 kB / 0.5832 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.3696, allocations: 1.562 kB / 0.5832 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3697, allocations: 8.531 kB / 0.5832 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.3697, allocations: 8.969 kB / 0.5833 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3697, allocations: 0.8125 kB / 0.5833 GB, free: 1.793 MB / 430.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.924e-05/0.3697, allocations: 109.1 kB / 0.5834 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-06/0.3697, allocations: 1.5 kB / 0.5834 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.3698, allocations: 42.91 kB / 0.5834 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3698, allocations: 0 / 0.5834 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3698, allocations: 1.125 kB / 0.5834 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.3698, allocations: 0 / 0.5834 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.134e-05/0.3699, allocations: 152.8 kB / 0.5836 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3699, allocations: 0.75 kB / 0.5836 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.3699, allocations: 2.625 kB / 0.5836 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3699, allocations: 0 / 0.5836 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3699, allocations: 5.5 kB / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3699, allocations: 0 / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3699, allocations: 0.8125 kB / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.384e-05/0.37, allocations: 53.23 kB / 0.5836 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.37, allocations: 82.41 kB / 0.5837 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.37, allocations: 5.125 kB / 0.5837 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.37, allocations: 4 kB / 0.5837 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.37, allocations: 5.781 kB / 0.5837 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.37, allocations: 0.6562 kB / 0.5837 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.184e-05/0.3701, allocations: 79.02 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 3.938 kB / 0.5838 GB, free: 1.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.3703, allocations: 26.12 kB / 0.5838 GB, free: 1.184 MB / 430.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.0003276/0.3706, allocations: 0.6366 MB / 0.5844 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.3707, allocations: 4.891 kB / 0.5844 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3707, allocations: 3.938 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.3707, allocations: 2.25 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.3708, allocations: 1.328 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.3711, allocations: 116.9 kB / 0.5846 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3712, allocations: 0.6713 MB / 0.5852 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.327e-06/0.3712, allocations: 5.281 kB / 0.5852 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.3713, allocations: 12.66 kB / 0.5852 GB, free: 15.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3713, allocations: 0 / 0.5852 GB, free: 15.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.3866, allocations: 1.361 MB / 0.5866 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.506, allocations: 3.781 kB / 0.5866 GB, free: 15.38 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)