Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001109/0.001109, 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.0012/0.0012, allocations: 195.2 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8985/0.8985, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 66.95 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.002615/0.1533, allocations: 1.421 MB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.154, allocations: 345.4 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.154, allocations: 0 / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1541, allocations: 3.938 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.1542, allocations: 3.938 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.1546, allocations: 103.7 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.167e-05/0.1547, allocations: 23.92 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.1548, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.1549, allocations: 15.92 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.1549, allocations: 15.92 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1549, allocations: 4 kB / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1551, allocations: 115.8 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1552, allocations: 4 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.1552, allocations: 11.94 kB / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1554, allocations: 87.86 kB / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1554, allocations: 3.938 kB / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1554, allocations: 0 / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.1554, allocations: 0 / 0.5866 GB, free: 2.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004663/0.1559, allocations: 359.7 kB / 0.5869 GB, free: 1.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1559, allocations: 8.031 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.156, allocations: 30.75 kB / 0.5869 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.156, allocations: 4.938 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1561, allocations: 168.2 kB / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1562, allocations: 4.375 kB / 0.5871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1562, allocations: 4.375 kB / 0.5871 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1564, allocations: 54.17 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1564, allocations: 3.938 kB / 0.5872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1564, allocations: 4 kB / 0.5872 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1564, allocations: 0 / 0.5872 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1566, allocations: 31.95 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.1569, allocations: 245 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.157, allocations: 50.42 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.1571, allocations: 24.91 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/0.1578, allocations: 461.5 kB / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1578, allocations: 30.56 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1578, allocations: 4 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000347/0.1581, allocations: 77.69 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1582, allocations: 59.39 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.1583, allocations: 101.8 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1583, allocations: 25.7 kB / 0.5882 GB, free: 288 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.1583, allocations: 84.14 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1583, allocations: 3.906 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.1584, allocations: 17.7 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1585, allocations: 314.8 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.1586, allocations: 16.02 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.1587, allocations: 19.98 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1588, allocations: 36.81 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1588, allocations: 7.938 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.1591, allocations: 65.67 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1591, allocations: 11.92 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1591, allocations: 4 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1591, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.1592, allocations: 4 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1592, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.1593, allocations: 7.984 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1593, allocations: 0 / 0.5888 GB, free: 15.67 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 7.233e-05/0.1594, allocations: 117.8 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.1594, allocations: 7.906 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1596, allocations: 76.7 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1597, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1597, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1597, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1598, allocations: 161.5 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1598, allocations: 0 / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.1599, allocations: 16.02 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1599, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1599, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1599, allocations: 3.938 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1599, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1602, allocations: 171.5 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.1602, allocations: 77.11 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1603, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.1603, allocations: 7.984 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1604, allocations: 4 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1604, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.1604, allocations: 91.2 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1604, allocations: 0 / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002672/0.1607, allocations: 28 kB / 0.5895 GB, free: 14.82 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.0006458/0.1614, allocations: 0.732 MB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1616, allocations: 35.95 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1616, allocations: 0 / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1617, allocations: 23.92 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1619, allocations: 4 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1624, allocations: 159.1 kB / 0.5905 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1626, allocations: 0.6768 MB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.1626, allocations: 0 / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1626, allocations: 11.44 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1626, allocations: 0 / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.1796, allocations: 1.72 MB / 0.5928 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.375, allocations: 12.72 kB / 0.5928 GB, free: 11.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)