Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.005312/0.005312, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001117/0.001117, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7482/0.7482, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4531, allocations: 80.2 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.002349/0.4555, allocations: 1.433 MB / 0.6606 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.4562, allocations: 347.4 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.4562, allocations: 1.375 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.4563, allocations: 0.5156 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.427e-05/0.4563, allocations: 4.641 kB / 0.6609 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.4568, allocations: 106.8 kB / 0.661 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.4568, allocations: 18.86 kB / 0.661 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.4569, allocations: 8.328 kB / 0.6611 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.457, allocations: 9.312 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.457, allocations: 9.438 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.457, allocations: 1.562 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.4573, allocations: 128.8 kB / 0.6612 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.4573, allocations: 1.406 kB / 0.6612 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.4573, allocations: 11.44 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.4575, allocations: 94.44 kB / 0.6613 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4575, allocations: 0 / 0.6613 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4575, allocations: 0 / 0.6613 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.4575, allocations: 1.219 kB / 0.6613 GB, free: 8.496 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004035/0.458, allocations: 355.9 kB / 0.6616 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.458, allocations: 10.03 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.458, allocations: 31.31 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.4581, allocations: 2.469 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.4582, allocations: 163.5 kB / 0.6618 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4582, allocations: 5.75 kB / 0.6618 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.4582, allocations: 1.781 kB / 0.6618 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4584, allocations: 49.14 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4584, allocations: 3.938 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.4584, allocations: 0 / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4584, allocations: 1.5 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4586, allocations: 40.41 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.4589, allocations: 254.2 kB / 0.6622 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.459, allocations: 44.56 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.4591, allocations: 23.42 kB / 0.6622 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.4597, allocations: 461.6 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.4597, allocations: 32.44 kB / 0.6627 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4597, allocations: 3.938 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.4601, allocations: 83.39 kB / 0.6628 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4601, allocations: 52.84 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.4602, allocations: 97.81 kB / 0.6629 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.4602, allocations: 25.7 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.4602, allocations: 87.2 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.4603, allocations: 7.891 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.4603, allocations: 12.98 kB / 0.6631 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.4603, allocations: 317.3 kB / 0.6634 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.4604, allocations: 17.98 kB / 0.6634 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.4605, allocations: 18.22 kB / 0.6634 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4607, allocations: 40.97 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4607, allocations: 3.938 kB / 0.6635 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.4609, allocations: 72.62 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4609, allocations: 4.531 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4609, allocations: 0.5625 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4609, allocations: 1.781 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.461, allocations: 8.031 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.461, allocations: 0 / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.4611, allocations: 6.391 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4611, allocations: 1.25 kB / 0.6635 GB, free: 6.258 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 (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.133e-05/0.4611, allocations: 120.5 kB / 0.6637 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4612, allocations: 5.859 kB / 0.6637 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.4614, allocations: 71.77 kB / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4614, allocations: 0 / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4614, allocations: 0.6094 kB / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4614, allocations: 1.156 kB / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.4615, allocations: 159.6 kB / 0.6639 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4615, allocations: 0.6094 kB / 0.6639 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.4616, allocations: 12.17 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4616, allocations: 1.094 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4616, allocations: 0 / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4616, allocations: 5.969 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4616, allocations: 0 / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.4618, allocations: 170.9 kB / 0.6641 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.4619, allocations: 77.86 kB / 0.6641 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4619, allocations: 5.672 kB / 0.6641 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.462, allocations: 5.172 kB / 0.6642 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.462, allocations: 6.734 kB / 0.6642 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.462, allocations: 1.969 kB / 0.6642 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.462, allocations: 80.22 kB / 0.6642 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4621, allocations: 0 / 0.6642 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002723/0.4623, allocations: 28.2 kB / 0.6643 GB, free: 5.551 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 (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.0005173/0.4629, allocations: 0.7369 MB / 0.665 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.4631, allocations: 39.73 kB / 0.665 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4631, allocations: 0 / 0.665 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.4632, allocations: 20.53 kB / 0.665 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4634, allocations: 9 kB / 0.665 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.4639, allocations: 143.9 kB / 0.6652 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.464, allocations: 0.6754 MB / 0.6658 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.464, allocations: 4.844 kB / 0.6658 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.464, allocations: 10.03 kB / 0.6659 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4641, allocations: 0 / 0.6659 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.4824, allocations: 1.734 MB / 0.6676 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.051, allocations: 2.656 kB / 0.6676 GB, free: 3.059 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)