Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_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.001362/0.001363, 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.001575/0.001575, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002349, allocations: 64.11 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1577, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.003008/0.1607, allocations: 1.426 MB / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.1615, allocations: 357.4 kB / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1615, allocations: 0 / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1616, allocations: 0 / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.1616, allocations: 7.938 kB / 0.5819 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1621, allocations: 103.7 kB / 0.582 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.1622, allocations: 19.88 kB / 0.5821 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.1623, allocations: 15.98 kB / 0.5821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.1623, allocations: 4 kB / 0.5821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.1623, allocations: 19.91 kB / 0.5821 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1624, allocations: 0 / 0.5821 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1626, allocations: 131.8 kB / 0.5822 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.1626, allocations: 3.984 kB / 0.5822 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.1627, allocations: 7.938 kB / 0.5822 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1629, allocations: 91.86 kB / 0.5823 GB, free: 6.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1629, allocations: 0 / 0.5823 GB, free: 6.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1629, allocations: 3.938 kB / 0.5823 GB, free: 6.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1629, allocations: 7.938 kB / 0.5823 GB, free: 6.445 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.0005028/0.1634, allocations: 355.7 kB / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1635, allocations: 8.031 kB / 0.5827 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.1635, allocations: 38.73 kB / 0.5827 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.1635, allocations: 0.9375 kB / 0.5827 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1637, allocations: 168.3 kB / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1637, allocations: 384 / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1637, allocations: 4.312 kB / 0.5829 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1639, allocations: 54.23 kB / 0.5829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1639, allocations: 3.938 kB / 0.5829 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.164, allocations: 0 / 0.5829 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.164, allocations: 0 / 0.5829 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1641, allocations: 35.95 kB / 0.583 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1645, allocations: 245 kB / 0.5832 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1647, allocations: 42.44 kB / 0.5832 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.1648, allocations: 28.89 kB / 0.5833 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.1655, allocations: 469.5 kB / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1656, allocations: 34.56 kB / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1656, allocations: 0 / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.1659, allocations: 81.73 kB / 0.5838 GB, free: 4.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.166, allocations: 51.41 kB / 0.5839 GB, free: 4.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.1661, allocations: 109.8 kB / 0.584 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1661, allocations: 25.7 kB / 0.584 GB, free: 4.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1661, allocations: 80.14 kB / 0.5841 GB, free: 4.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1662, allocations: 11.89 kB / 0.5841 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1662, allocations: 13.72 kB / 0.5841 GB, free: 4.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.1663, allocations: 310.8 kB / 0.5844 GB, free: 4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.1664, allocations: 24 kB / 0.5844 GB, free: 3.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1665, allocations: 15.98 kB / 0.5844 GB, free: 3.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1666, allocations: 32.83 kB / 0.5845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1666, allocations: 7.938 kB / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.1668, allocations: 69.72 kB / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1669, allocations: 8 kB / 0.5846 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1669, allocations: 7.875 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1669, allocations: 0 / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.167, allocations: 7.984 kB / 0.5846 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.167, allocations: 0 / 0.5846 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.167, allocations: 4 kB / 0.5846 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-06/0.167, allocations: 0 / 0.5846 GB, free: 3.816 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 (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.068e-05/0.1671, allocations: 122.5 kB / 0.5847 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1672, allocations: 3.906 kB / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1674, allocations: 76.97 kB / 0.5848 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1674, allocations: 7.922 kB / 0.5848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1674, allocations: 0 / 0.5848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1674, allocations: 0 / 0.5848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1676, allocations: 161.5 kB / 0.5849 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1676, allocations: 3.984 kB / 0.5849 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.1676, allocations: 15.97 kB / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1676, allocations: 0 / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1677, allocations: 0 / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1677, allocations: 0 / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1677, allocations: 0 / 0.5849 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1679, allocations: 163.5 kB / 0.5851 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.1679, allocations: 85.12 kB / 0.5852 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.168, allocations: 4 kB / 0.5852 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.168, allocations: 0 / 0.5852 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1681, allocations: 7.984 kB / 0.5852 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1681, allocations: 0 / 0.5852 GB, free: 3.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.1681, allocations: 79.28 kB / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1681, allocations: 0 / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1684, allocations: 32 kB / 0.5853 GB, free: 2.965 MB / 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 (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.0006518/0.1691, allocations: 0.7358 MB / 0.586 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1693, allocations: 31.97 kB / 0.5861 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1693, allocations: 0 / 0.5861 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.1694, allocations: 23.92 kB / 0.5861 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1696, allocations: 3.5 kB / 0.5861 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.17, allocations: 159.1 kB / 0.5862 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1703, allocations: 0.6768 MB / 0.5869 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.1703, allocations: 0 / 0.5869 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.1703, allocations: 11.44 kB / 0.5869 GB, free: 1.238 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1703, allocations: 0 / 0.5869 GB, free: 1.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1874, allocations: 1.728 MB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.505, allocations: 12.47 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)