Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 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.001182/0.001182, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9472/0.9472, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 59.97 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001761/0.1407, allocations: 0.5624 MB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.1413, allocations: 286.9 kB / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.1413, allocations: 0 / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.1413, allocations: 0 / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1414, allocations: 0 / 0.5853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1419, allocations: 99.72 kB / 0.5854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.554e-05/0.1419, allocations: 4 kB / 0.5854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.142, allocations: 0 / 0.5854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.142, allocations: 0 / 0.5854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.833e-05/0.142, allocations: 3.984 kB / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-06/0.142, allocations: 0 / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1422, allocations: 115.8 kB / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1423, allocations: 4 kB / 0.5855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.1423, allocations: 7.922 kB / 0.5855 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1425, allocations: 71.83 kB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1425, allocations: 4 kB / 0.5856 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1425, allocations: 0 / 0.5856 GB, free: 3.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1425, allocations: 0 / 0.5856 GB, free: 3.297 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000273/0.1428, allocations: 327.6 kB / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1428, allocations: 8.031 kB / 0.5859 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.1428, allocations: 34.75 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.1429, allocations: 0.9375 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.1429, allocations: 164.4 kB / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.143, allocations: 384 / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.143, allocations: 384 / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.1431, allocations: 34.27 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1431, allocations: 11.86 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.1431, allocations: 0 / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1431, allocations: 0 / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1431, allocations: 0 / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.1432, allocations: 145.7 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.002e-05/0.1433, allocations: 18.61 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.1433, allocations: 8.859 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.144, allocations: 457.5 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.144, allocations: 34.56 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.895e-06/0.144, allocations: 0 / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000117/0.1442, allocations: 41.58 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1442, allocations: 51.41 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.1442, allocations: 97.78 kB / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1442, allocations: 25.7 kB / 0.587 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.1443, allocations: 80.14 kB / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1443, allocations: 7.906 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.1443, allocations: 13.72 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.1444, allocations: 314.8 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.1445, allocations: 4.125 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.1445, allocations: 4 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.1445, allocations: 12.8 kB / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1445, allocations: 0 / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.323e-05/0.1446, allocations: 37.69 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1446, allocations: 4 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1446, allocations: 3.938 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1446, allocations: 0 / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.1447, allocations: 8.094 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1447, allocations: 0 / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.1447, allocations: 4 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1447, allocations: 0 / 0.5875 GB, free: 1.055 MB / 494.1 MB 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.64e-05/0.1447, allocations: 105.8 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.1448, allocations: 0 / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.1448, allocations: 48.69 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1449, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1449, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1449, allocations: 4.031 kB / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.989e-05/0.145, allocations: 145.7 kB / 0.5878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.145, allocations: 0 / 0.5878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.145, allocations: 7.984 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.145, allocations: 0 / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.145, allocations: 3.938 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.145, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.145, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.057e-05/0.1451, allocations: 61.08 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.1451, allocations: 77.11 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1451, allocations: 7.922 kB / 0.5879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.1451, allocations: 4 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.1452, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1452, allocations: 3.938 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.1452, allocations: 75.28 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1452, allocations: 0 / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1454, allocations: 32 kB / 0.588 GB, free: 396 kB / 494.1 MB 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.0004487/0.1459, allocations: 0.6417 MB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.1459, allocations: 7.938 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.146, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-06/0.146, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1461, allocations: 10.59 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.1464, allocations: 118.6 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1466, allocations: 0.6767 MB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.35e-05/0.1466, allocations: 4.125 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.1466, allocations: 11.44 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1467, allocations: 0 / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.163, allocations: 1.362 MB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.118, allocations: 8 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0_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_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)