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.005509/0.005509, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.00121/0.00121, allocations: 192.2 kB / 16.67 MB, free: 5.973 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: 15.14 MB / 206.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: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 69.27 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.001791/0.1676, allocations: 0.5682 MB / 0.6598 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006077/0.1682, allocations: 301.9 kB / 0.6601 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.1682, allocations: 0 / 0.6601 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.1683, allocations: 0 / 0.6601 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.1683, allocations: 3.938 kB / 0.6601 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.1688, allocations: 103.7 kB / 0.6602 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.415e-05/0.1688, allocations: 4 kB / 0.6602 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.1689, allocations: 0 / 0.6602 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1689, allocations: 7.938 kB / 0.6602 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.585e-05/0.1689, allocations: 0 / 0.6602 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.1689, allocations: 0 / 0.6602 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1692, allocations: 127.8 kB / 0.6603 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-06/0.1692, allocations: 3.938 kB / 0.6603 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.315e-05/0.1692, allocations: 0 / 0.6603 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1694, allocations: 76.03 kB / 0.6604 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1694, allocations: 0 / 0.6604 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1694, allocations: 0 / 0.6604 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1694, allocations: 4 kB / 0.6604 GB, free: 9.516 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.0003226/0.1698, allocations: 335.4 kB / 0.6607 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1698, allocations: 8.031 kB / 0.6607 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1698, allocations: 30.75 kB / 0.6607 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.1699, allocations: 0.9375 kB / 0.6608 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.1699, allocations: 168.4 kB / 0.6609 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.17, allocations: 384 / 0.6609 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.17, allocations: 4.375 kB / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.312e-05/0.17, allocations: 30.2 kB / 0.6609 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1701, allocations: 7.938 kB / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1701, allocations: 0 / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1701, allocations: 3.938 kB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.1701, allocations: 4 kB / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.1702, allocations: 149.7 kB / 0.6611 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.1703, allocations: 14.58 kB / 0.6611 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.1703, allocations: 8.953 kB / 0.6611 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007763/0.1711, allocations: 469.5 kB / 0.6616 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1711, allocations: 34.5 kB / 0.6616 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.1711, allocations: 4 kB / 0.6616 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000112/0.1712, allocations: 41.62 kB / 0.6616 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1713, allocations: 51.41 kB / 0.6617 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.579e-05/0.1713, allocations: 89.86 kB / 0.6618 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1713, allocations: 29.7 kB / 0.6618 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.1714, allocations: 80.14 kB / 0.6619 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1714, allocations: 3.953 kB / 0.6619 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1714, allocations: 13.72 kB / 0.6619 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1715, allocations: 315 kB / 0.6622 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.1715, allocations: 0 / 0.6622 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.1715, allocations: 0 / 0.6622 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.1716, allocations: 12.8 kB / 0.6622 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1716, allocations: 0 / 0.6622 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.301e-05/0.1716, allocations: 37.69 kB / 0.6623 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1717, allocations: 8 kB / 0.6623 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1717, allocations: 7.938 kB / 0.6623 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1717, allocations: 0 / 0.6623 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.1717, allocations: 4.094 kB / 0.6623 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1717, allocations: 0 / 0.6623 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.1717, allocations: 7.938 kB / 0.6623 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1718, allocations: 0 / 0.6623 GB, free: 7.254 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.936e-05/0.1718, allocations: 106.7 kB / 0.6624 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-06/0.1718, allocations: 0 / 0.6624 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.1719, allocations: 48.69 kB / 0.6624 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1719, allocations: 0 / 0.6624 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1719, allocations: 8.031 kB / 0.6624 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1719, allocations: 0 / 0.6624 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.325e-05/0.172, allocations: 145.7 kB / 0.6626 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.172, allocations: 0 / 0.6626 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.1721, allocations: 3.938 kB / 0.6626 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1721, allocations: 4 kB / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1721, allocations: 3.938 kB / 0.6626 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1721, allocations: 3.984 kB / 0.6626 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1721, allocations: 0 / 0.6626 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.988e-05/0.1721, allocations: 61.08 kB / 0.6626 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1722, allocations: 81.09 kB / 0.6627 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1722, allocations: 7.938 kB / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.1722, allocations: 0 / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1722, allocations: 0 / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.1722, allocations: 0 / 0.6627 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.1723, allocations: 75.28 kB / 0.6628 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 0.6628 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002179/0.1725, allocations: 27.94 kB / 0.6628 GB, free: 6.582 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.0004381/0.1729, allocations: 0.6319 MB / 0.6634 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.173, allocations: 7.938 kB / 0.6635 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.173, allocations: 0 / 0.6635 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.173, allocations: 4 kB / 0.6635 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1732, allocations: 10.23 kB / 0.6635 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1734, allocations: 110.5 kB / 0.6636 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1736, allocations: 0.6769 MB / 0.6642 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.037e-05/0.1737, allocations: 4 kB / 0.6642 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.1737, allocations: 7.438 kB / 0.6642 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1737, allocations: 0 / 0.6642 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.1902, allocations: 1.389 MB / 0.6656 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.499, allocations: 4.828 kB / 0.6656 GB, free: 3.73 MB / 0.4981 GB (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)