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.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 69.36 kB / 0.5055 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1414, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.00249/0.1439, allocations: 1.414 MB / 0.5859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.1446, allocations: 353.3 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.1446, allocations: 0 / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.1446, allocations: 3.938 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.1447, allocations: 8 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.1451, allocations: 103.6 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.1452, allocations: 31.86 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.1453, allocations: 3.984 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.1453, allocations: 8 kB / 0.5864 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.1453, allocations: 15.92 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.1454, allocations: 0 / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.1456, allocations: 131.8 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.1456, allocations: 0 / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1456, allocations: 23.92 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1458, allocations: 79.88 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1458, allocations: 0 / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1458, allocations: 3.938 kB / 0.5866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1458, allocations: 3.938 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB 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.0003614/0.1462, allocations: 359.7 kB / 0.5869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1462, allocations: 8.031 kB / 0.587 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.1462, allocations: 30.75 kB / 0.587 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.1463, allocations: 4.938 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.1464, allocations: 168.3 kB / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1464, allocations: 384 / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.1464, allocations: 4.375 kB / 0.5871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1465, allocations: 46.23 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1466, allocations: 3.938 kB / 0.5872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1466, allocations: 4 kB / 0.5872 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1466, allocations: 4 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1468, allocations: 39.89 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.147, allocations: 245 kB / 0.5875 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1472, allocations: 42.48 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.1472, allocations: 20.91 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.1479, allocations: 473.5 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.148, allocations: 34.56 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.148, allocations: 4 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.1483, allocations: 81.58 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1484, allocations: 55.41 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.1484, allocations: 101.8 kB / 0.5883 GB, free: 304 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1484, allocations: 25.7 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1485, allocations: 80.14 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.1485, allocations: 7.969 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1485, allocations: 21.72 kB / 0.5884 GB, free: 152 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.1486, allocations: 314.8 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.1487, allocations: 15.98 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.1488, allocations: 15.98 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.149, allocations: 44.83 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.149, allocations: 3.938 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.1492, allocations: 61.66 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1492, allocations: 8 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1492, allocations: 3.938 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1492, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.1493, allocations: 7.984 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1493, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1494, allocations: 12.02 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1494, allocations: 4 kB / 0.5889 GB, free: 15.65 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.602e-05/0.1495, allocations: 113.8 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1495, allocations: 4.094 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1497, allocations: 76.7 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1497, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1497, allocations: 4.031 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1497, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.1499, allocations: 165.5 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1499, allocations: 4 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.15, allocations: 12 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.15, allocations: 3.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.15, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.15, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.15, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1502, allocations: 167.4 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.1503, allocations: 77.11 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1503, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.1503, allocations: 7.984 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1504, allocations: 4 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1504, allocations: 0 / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.1504, allocations: 83.31 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1504, allocations: 0 / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002629/0.1507, allocations: 31.98 kB / 0.5896 GB, free: 14.8 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.0006066/0.1513, allocations: 0.7242 MB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1515, allocations: 39.91 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1515, allocations: 0 / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.1516, allocations: 27.97 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1519, allocations: 6.953 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.1523, allocations: 159 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1525, allocations: 0.6768 MB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.1525, allocations: 0 / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1525, allocations: 15.5 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1525, allocations: 0 / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1683, allocations: 1.726 MB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.451, allocations: 14.61 kB / 0.5929 GB, free: 11.39 MB / 0.4981 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)