Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",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.004719/0.004719, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001075/0.001074, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.791/0.791, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 68.09 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4675, allocations: 80.2 MB / 0.6592 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001588/0.4691, allocations: 0.575 MB / 0.6598 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.4697, allocations: 290 kB / 0.6601 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.4697, allocations: 0 / 0.6601 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.4698, allocations: 3.938 kB / 0.6601 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.4698, allocations: 0 / 0.6601 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.4702, allocations: 96.09 kB / 0.6602 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.885e-05/0.4703, allocations: 5.875 kB / 0.6602 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.4703, allocations: 6.156 kB / 0.6602 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.4703, allocations: 0 / 0.6602 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.051e-05/0.4704, allocations: 1.156 kB / 0.6602 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.4704, allocations: 0 / 0.6602 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.4706, allocations: 121.6 kB / 0.6603 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-06/0.4707, allocations: 0 / 0.6603 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.4707, allocations: 2.047 kB / 0.6603 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.4708, allocations: 70.03 kB / 0.6604 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4709, allocations: 0 / 0.6604 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4709, allocations: 3.938 kB / 0.6604 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.4709, allocations: 0 / 0.6604 GB, free: 9.379 MB / 0.4981 GB 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.0002717/0.4711, allocations: 333.3 kB / 0.6607 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4712, allocations: 9.625 kB / 0.6607 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.4712, allocations: 30.75 kB / 0.6607 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.4713, allocations: 6.547 kB / 0.6607 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.032e-05/0.4713, allocations: 161.1 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4713, allocations: 1.531 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.4713, allocations: 4.312 kB / 0.6609 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.4714, allocations: 29.78 kB / 0.6609 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4714, allocations: 3.938 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.4715, allocations: 4 kB / 0.6609 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4715, allocations: 1.156 kB / 0.6609 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.4715, allocations: 5.594 kB / 0.6609 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.808e-05/0.4716, allocations: 148.2 kB / 0.6611 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.144e-05/0.4716, allocations: 17.23 kB / 0.6611 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.4717, allocations: 6.766 kB / 0.6611 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.4723, allocations: 460.5 kB / 0.6615 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4724, allocations: 32.34 kB / 0.6616 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4724, allocations: 0 / 0.6616 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.4725, allocations: 40.06 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4725, allocations: 55.53 kB / 0.6617 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.999e-05/0.4726, allocations: 91.88 kB / 0.6617 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.4726, allocations: 29.7 kB / 0.6618 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.109e-05/0.4726, allocations: 80.14 kB / 0.6618 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.4726, allocations: 8.984 kB / 0.6619 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.4726, allocations: 11.67 kB / 0.6619 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.4727, allocations: 312.7 kB / 0.6622 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.4727, allocations: 2.062 kB / 0.6622 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.4727, allocations: 5.062 kB / 0.6622 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.4728, allocations: 8.109 kB / 0.6622 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4728, allocations: 0 / 0.6622 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.514e-05/0.4728, allocations: 40.34 kB / 0.6622 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4728, allocations: 5.797 kB / 0.6622 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4728, allocations: 7.938 kB / 0.6622 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4729, allocations: 0 / 0.6622 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.984e-05/0.4729, allocations: 3.016 kB / 0.6622 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4729, allocations: 0 / 0.6622 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.4729, allocations: 4.797 kB / 0.6622 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.4729, allocations: 1.156 kB / 0.6622 GB, free: 7.273 MB / 0.4981 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 (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 5.416e-05/0.473, allocations: 108.2 kB / 0.6623 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.473, allocations: 5.156 kB / 0.6623 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.4731, allocations: 42.56 kB / 0.6624 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4731, allocations: 4.781 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4731, allocations: 0.7031 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4731, allocations: 1.219 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.394e-05/0.4732, allocations: 145.2 kB / 0.6625 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4732, allocations: 4.031 kB / 0.6625 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.4732, allocations: 2.359 kB / 0.6625 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4732, allocations: 0 / 0.6625 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4732, allocations: 9.438 kB / 0.6625 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4732, allocations: 0 / 0.6625 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4732, allocations: 0.75 kB / 0.6625 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.546e-05/0.4733, allocations: 56.19 kB / 0.6626 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.4733, allocations: 87.88 kB / 0.6627 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4733, allocations: 4.453 kB / 0.6627 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.4734, allocations: 0 / 0.6627 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.4734, allocations: 2.703 kB / 0.6627 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.4734, allocations: 0 / 0.6627 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.314e-05/0.4734, allocations: 75.28 kB / 0.6628 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.01e-07/0.4734, allocations: 0 / 0.6628 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002522/0.4737, allocations: 31.47 kB / 0.6628 GB, free: 6.652 MB / 0.4981 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 (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.000361/0.474, allocations: 0.6258 MB / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.4741, allocations: 7.547 kB / 0.6634 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4741, allocations: 1.281 kB / 0.6634 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.4741, allocations: 5.984 kB / 0.6634 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4743, allocations: 6.156 kB / 0.6634 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.4745, allocations: 113.3 kB / 0.6635 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.4746, allocations: 0.6702 MB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.478e-06/0.4746, allocations: 1.922 kB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.4747, allocations: 8.656 kB / 0.6642 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4747, allocations: 4 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.4924, allocations: 1.38 MB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.797, allocations: 11.12 kB / 0.6656 GB, free: 4.641 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0_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_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)