Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IDEAS_dev_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.001128/0.001128, 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.001211/0.001211, allocations: 195.5 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9756/0.9756, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 63.81 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.00171/0.1368, allocations: 0.5654 MB / 0.585 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.1374, allocations: 299 kB / 0.5853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.1374, allocations: 0 / 0.5853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1375, allocations: 3.938 kB / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.1375, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1379, allocations: 103.6 kB / 0.5854 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.524e-05/0.138, allocations: 8 kB / 0.5854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.138, allocations: 0 / 0.5854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.1381, allocations: 7.984 kB / 0.5854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.1381, allocations: 0 / 0.5854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.1381, allocations: 0 / 0.5854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.1383, allocations: 131.7 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.1383, allocations: 0 / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.1384, allocations: 8 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1385, allocations: 67.83 kB / 0.5856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1385, allocations: 0 / 0.5856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1385, allocations: 0 / 0.5856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1386, allocations: 0 / 0.5856 GB, free: 3.254 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.0002898/0.1389, allocations: 331.6 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1389, allocations: 12.03 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1389, allocations: 30.75 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.139, allocations: 0.9375 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.139, allocations: 164.4 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.1391, allocations: 384 / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1391, allocations: 4.375 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.1392, allocations: 30.27 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1392, allocations: 3.938 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.1392, allocations: 4 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1392, allocations: 0 / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.1392, allocations: 3.938 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1393, allocations: 149.7 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.229e-05/0.1394, allocations: 18.56 kB / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1394, allocations: 8.859 kB / 0.5864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.1402, allocations: 469.5 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1402, allocations: 30.56 kB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1402, allocations: 3.938 kB / 0.5868 GB, free: 1.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.1404, allocations: 41.7 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1404, allocations: 55.41 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.1404, allocations: 97.84 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1405, allocations: 25.7 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.1405, allocations: 80.14 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1405, allocations: 3.906 kB / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1405, allocations: 9.719 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1406, allocations: 314.8 kB / 0.5874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1407, allocations: 8 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.1407, allocations: 3.938 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.1407, allocations: 8.859 kB / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1407, allocations: 0 / 0.5875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.319e-05/0.1408, allocations: 37.62 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1408, allocations: 4 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1408, allocations: 3.938 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1408, allocations: 4 kB / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.1409, allocations: 0 / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1409, allocations: 4.094 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.1409, allocations: 0 / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1409, allocations: 0 / 0.5875 GB, free: 1 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 6.702e-05/0.141, allocations: 113.8 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.141, allocations: 0 / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.1411, allocations: 44.69 kB / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1411, allocations: 0 / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1411, allocations: 0 / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1411, allocations: 0 / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.358e-05/0.1412, allocations: 145.7 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1412, allocations: 4 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.1412, allocations: 3.984 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1412, allocations: 0 / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1412, allocations: 3.938 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1412, allocations: 0 / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1412, allocations: 0 / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.267e-05/0.1413, allocations: 61.14 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.1414, allocations: 77.11 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1414, allocations: 11.86 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.1414, allocations: 4 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1414, allocations: 4 kB / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.1414, allocations: 0 / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.397e-05/0.1414, allocations: 76.94 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1414, allocations: 3.938 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1417, allocations: 24 kB / 0.5881 GB, free: 340 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.0005075/0.1422, allocations: 0.644 MB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.804e-05/0.1423, allocations: 4 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1423, allocations: 0 / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.1423, allocations: 7.938 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1424, allocations: 0 / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.1428, allocations: 126.6 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.143, allocations: 0.6728 MB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.137e-05/0.143, allocations: 0 / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.143, allocations: 15.55 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.1431, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.1596, allocations: 1.368 MB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.182, allocations: 9.828 kB / 0.5909 GB, free: 13.47 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)