Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.005775/0.005775, allocations: 101.2 kB / 15.73 MB, free: 5.609 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.001263/0.001263, allocations: 193.7 kB / 16.67 MB, free: 5.527 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.327/1.327, 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-master/package.mo): time 0.7926/0.7926, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 68.39 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1692, allocations: 80.92 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.002796/0.1721, allocations: 1.433 MB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.1729, allocations: 355.7 kB / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.1729, allocations: 0 / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.1729, allocations: 0 / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.173, allocations: 3.938 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1736, allocations: 114.8 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.1737, allocations: 19.92 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.1738, allocations: 8 kB / 0.666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.1738, allocations: 4 kB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.1739, allocations: 11.92 kB / 0.6661 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1739, allocations: 7.938 kB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.1741, allocations: 127.8 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1741, allocations: 0 / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1742, allocations: 15.92 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1744, allocations: 95.95 kB / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1744, allocations: 0 / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1744, allocations: 0 / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1744, allocations: 4 kB / 0.6663 GB, free: 4.078 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.0004395/0.1748, allocations: 355.2 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1749, allocations: 13.11 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.1749, allocations: 30.75 kB / 0.6667 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1749, allocations: 4.938 kB / 0.6667 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1751, allocations: 160.4 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1751, allocations: 8.375 kB / 0.6668 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.1751, allocations: 4.359 kB / 0.6668 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1753, allocations: 54.17 kB / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1753, allocations: 3.938 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1753, allocations: 0 / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1753, allocations: 0 / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1755, allocations: 35.95 kB / 0.6669 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.1758, allocations: 248.9 kB / 0.6672 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1759, allocations: 42.48 kB / 0.6672 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.176, allocations: 20.91 kB / 0.6672 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/0.1768, allocations: 477.3 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1768, allocations: 30.56 kB / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1768, allocations: 0 / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003623/0.1772, allocations: 85.64 kB / 0.6678 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1772, allocations: 51.41 kB / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.1773, allocations: 101.8 kB / 0.6679 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1774, allocations: 25.7 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.1774, allocations: 88.08 kB / 0.6681 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1774, allocations: 3.953 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1775, allocations: 17.72 kB / 0.6681 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1776, allocations: 319 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1777, allocations: 15.98 kB / 0.6684 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.1778, allocations: 15.92 kB / 0.6684 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1779, allocations: 36.83 kB / 0.6684 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1779, allocations: 3.938 kB / 0.6684 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.1781, allocations: 69.72 kB / 0.6685 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1782, allocations: 4 kB / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1782, allocations: 0 / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1782, allocations: 0 / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1783, allocations: 19.92 kB / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1783, allocations: 0 / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1783, allocations: 11.98 kB / 0.6685 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1784, allocations: 4.031 kB / 0.6686 GB, free: 1.438 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 6.813e-05/0.1784, allocations: 117.7 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1785, allocations: 0 / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.1787, allocations: 72.73 kB / 0.6687 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1787, allocations: 0 / 0.6687 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1787, allocations: 4 kB / 0.6687 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1787, allocations: 0 / 0.6687 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1789, allocations: 165.6 kB / 0.6689 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1789, allocations: 0 / 0.6689 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1789, allocations: 4 kB / 0.6689 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.179, allocations: 3.984 kB / 0.6689 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.179, allocations: 4 kB / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.179, allocations: 0 / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.179, allocations: 0 / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1792, allocations: 179.3 kB / 0.6691 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1793, allocations: 77.11 kB / 0.6691 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1793, allocations: 0 / 0.6691 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.1794, allocations: 7.984 kB / 0.6692 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1794, allocations: 192 / 0.6692 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1794, allocations: 4 kB / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.1794, allocations: 79.27 kB / 0.6692 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1795, allocations: 0 / 0.6692 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002613/0.1797, allocations: 39.95 kB / 0.6693 GB, free: 0.5898 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.0006813/0.1804, allocations: 0.7409 MB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1806, allocations: 31.97 kB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1807, allocations: 0 / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.1808, allocations: 24.03 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.181, allocations: 7.938 kB / 0.6701 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1814, allocations: 143 kB / 0.6702 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1817, allocations: 0.6806 MB / 0.6709 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.1817, allocations: 0 / 0.6709 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1817, allocations: 7.438 kB / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1818, allocations: 4 kB / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.1997, allocations: 1.752 MB / 0.6726 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.682, allocations: 4 kB / 0.6726 GB, free: 13.16 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_dev_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)