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.005224/0.005224, allocations: 95.77 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.001402/0.001402, allocations: 198.9 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8692/0.8692, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 69.73 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1714, 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.001592/0.1731, allocations: 0.5791 MB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.1737, allocations: 301.6 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.1738, allocations: 0 / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1738, allocations: 0 / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.1738, allocations: 4 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1743, allocations: 103.7 kB / 0.6602 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.805e-05/0.1743, allocations: 0 / 0.6602 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.1743, allocations: 3.938 kB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.1744, allocations: 0 / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.1744, allocations: 7.984 kB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1744, allocations: 0 / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.1747, allocations: 127.8 kB / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.172e-06/0.1747, allocations: 0 / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.1747, allocations: 0 / 0.6603 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1749, allocations: 81.44 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1749, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1749, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1749, allocations: 0 / 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.0003502/0.1752, allocations: 331.4 kB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1753, allocations: 12.03 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1753, allocations: 30.75 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.915e-05/0.1753, allocations: 0.9375 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1755, allocations: 160.4 kB / 0.6609 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1755, allocations: 384 / 0.6609 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1755, allocations: 4.375 kB / 0.6609 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.174e-05/0.1756, allocations: 30.27 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1756, allocations: 7.875 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1756, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1756, allocations: 3.938 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.1756, allocations: 7.984 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1758, allocations: 149.7 kB / 0.6611 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.1758, allocations: 18.58 kB / 0.6611 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.1759, allocations: 8.953 kB / 0.6611 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000814/0.1767, allocations: 465.5 kB / 0.6616 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1767, allocations: 38.55 kB / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1767, allocations: 0 / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.1769, allocations: 41.58 kB / 0.6617 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1769, allocations: 55.34 kB / 0.6617 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.177, allocations: 89.86 kB / 0.6618 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.177, allocations: 29.7 kB / 0.6618 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.177, allocations: 80.14 kB / 0.6619 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.177, allocations: 4.078 kB / 0.6619 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1771, allocations: 17.72 kB / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1772, allocations: 310.8 kB / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1772, allocations: 3.984 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.1773, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.1773, allocations: 12.8 kB / 0.6622 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1773, allocations: 0 / 0.6622 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.188e-05/0.1774, allocations: 33.7 kB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1774, allocations: 12.09 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1774, allocations: 3.938 kB / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1774, allocations: 0 / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.1774, allocations: 0 / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1774, allocations: 0 / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.1775, allocations: 0 / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1775, allocations: 7.984 kB / 0.6623 GB, free: 10.52 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 6.972e-05/0.1775, allocations: 106.5 kB / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-06/0.1776, allocations: 0 / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.1776, allocations: 48.7 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1777, allocations: 0 / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1777, allocations: 0 / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1777, allocations: 0 / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1778, allocations: 153.6 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1778, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.1778, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1778, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1778, allocations: 7.938 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1778, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1778, allocations: 8.016 kB / 0.6626 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.815e-05/0.1779, allocations: 57.12 kB / 0.6627 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.178, allocations: 77.11 kB / 0.6627 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.178, allocations: 11.88 kB / 0.6627 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.178, allocations: 4 kB / 0.6627 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.178, allocations: 0 / 0.6627 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.178, allocations: 0 / 0.6627 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.1781, allocations: 79.31 kB / 0.6628 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 0.6628 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002116/0.1783, allocations: 27.92 kB / 0.6628 GB, free: 9.84 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.0005386/0.1789, allocations: 0.6396 MB / 0.6635 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.1789, allocations: 7.938 kB / 0.6635 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1789, allocations: 0 / 0.6635 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.179, allocations: 4 kB / 0.6635 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1791, allocations: 4.125 kB / 0.6635 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.1794, allocations: 118.5 kB / 0.6636 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1797, allocations: 0.669 MB / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.887e-06/0.1797, allocations: 0 / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.1797, allocations: 11.44 kB / 0.6643 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1797, allocations: 0 / 0.6643 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.2015, allocations: 1.391 MB / 0.6656 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.075, allocations: 5.531 kB / 0.6656 GB, free: 6.992 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)