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.009155/0.009155, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001875/0.001875, allocations: 202.7 kB / 16.68 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7916/0.7916, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 61.72 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.001629/0.1616, allocations: 0.5759 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.1623, allocations: 301.6 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.1623, allocations: 0 / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1623, allocations: 0 / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1623, allocations: 0 / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1628, allocations: 99.72 kB / 0.6602 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.835e-05/0.1629, allocations: 4 kB / 0.6602 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1629, allocations: 7.922 kB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.1629, allocations: 7.984 kB / 0.6602 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.791e-05/0.163, allocations: 0 / 0.6602 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.163, allocations: 0 / 0.6602 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1632, allocations: 127.8 kB / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1632, allocations: 7.922 kB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.1633, allocations: 0 / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1634, allocations: 68.11 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1635, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1635, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1635, allocations: 8 kB / 0.6604 GB, free: 12.77 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.0003027/0.1638, allocations: 331.4 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1638, allocations: 8.031 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.1639, allocations: 30.75 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1639, allocations: 0.9375 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.164, allocations: 164.3 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.164, allocations: 384 / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.164, allocations: 4.375 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.1641, allocations: 34.25 kB / 0.6609 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1641, allocations: 7.875 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1641, allocations: 0 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1641, allocations: 3.984 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.1642, allocations: 4 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1643, allocations: 145.7 kB / 0.6611 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.88e-05/0.1643, allocations: 18.52 kB / 0.6611 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.1643, allocations: 8.953 kB / 0.6611 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.1651, allocations: 473.4 kB / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1651, allocations: 30.56 kB / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1652, allocations: 8 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.1653, allocations: 33.64 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1653, allocations: 51.41 kB / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.148e-05/0.1654, allocations: 93.8 kB / 0.6618 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1654, allocations: 25.7 kB / 0.6618 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1654, allocations: 80.14 kB / 0.6619 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1654, allocations: 3.953 kB / 0.6619 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1655, allocations: 21.7 kB / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.1656, allocations: 315 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.1656, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.1656, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.1656, allocations: 8.859 kB / 0.6622 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1656, allocations: 0 / 0.6622 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.117e-05/0.1657, allocations: 29.7 kB / 0.6622 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1657, allocations: 9.562 kB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1657, allocations: 3.938 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1657, allocations: 4.094 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.1658, allocations: 7.922 kB / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1658, allocations: 0 / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.1658, allocations: 11.94 kB / 0.6623 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1658, allocations: 0 / 0.6623 GB, free: 10.51 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.624e-05/0.1659, allocations: 106.5 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.1659, allocations: 0 / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.293e-05/0.166, allocations: 40.77 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.166, allocations: 8.016 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.166, allocations: 4 kB / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.166, allocations: 0 / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.801e-05/0.1661, allocations: 149.6 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1661, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.1661, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1661, allocations: 4 kB / 0.6626 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1661, allocations: 3.938 kB / 0.6626 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1661, allocations: 3.938 kB / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1661, allocations: 0 / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.579e-05/0.1662, allocations: 57.12 kB / 0.6626 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.1662, allocations: 77.11 kB / 0.6627 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1663, allocations: 7.938 kB / 0.6627 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-06/0.1663, allocations: 4 kB / 0.6627 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.1663, allocations: 0 / 0.6627 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1663, allocations: 3.984 kB / 0.6627 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.1663, allocations: 75.28 kB / 0.6628 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.6628 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002167/0.1665, allocations: 31.97 kB / 0.6628 GB, free: 9.836 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.0004364/0.167, allocations: 0.6357 MB / 0.6635 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.1671, allocations: 4 kB / 0.6635 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1671, allocations: 0 / 0.6635 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.1671, allocations: 4 kB / 0.6635 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.1672, allocations: 0 / 0.6635 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.1675, allocations: 122.6 kB / 0.6636 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.1677, allocations: 0.6728 MB / 0.6642 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.062e-05/0.1677, allocations: 4 kB / 0.6642 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1678, allocations: 7.438 kB / 0.6642 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1678, allocations: 0 / 0.6642 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.1846, allocations: 1.394 MB / 0.6656 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.531, allocations: 5.516 kB / 0.6656 GB, free: 6.988 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)