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.005524/0.005524, allocations: 98.39 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8552/0.8552, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 76.14 kB / 0.5857 GB, free: 21.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1552, allocations: 81.02 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.002709/0.1579, allocations: 1.431 MB / 0.6663 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000714/0.1586, allocations: 347.7 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.1587, allocations: 4 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.1588, allocations: 7.938 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.1588, allocations: 3.984 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1593, allocations: 95.72 kB / 0.6667 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.1594, allocations: 23.92 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.1595, allocations: 7.984 kB / 0.6667 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.1595, allocations: 8 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1596, allocations: 7.922 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1596, allocations: 8 kB / 0.6668 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.1598, allocations: 127.8 kB / 0.6669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1599, allocations: 0 / 0.6669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.1599, allocations: 11.92 kB / 0.6669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1601, allocations: 84.03 kB / 0.667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1601, allocations: 0 / 0.667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1601, allocations: 0 / 0.667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1601, allocations: 4 kB / 0.667 GB, free: 3.465 MB / 0.4981 GB 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.000623/0.1608, allocations: 351.3 kB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1608, allocations: 17.11 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.1609, allocations: 30.75 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1609, allocations: 0.9375 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1611, allocations: 164.4 kB / 0.6675 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1611, allocations: 8.359 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.1611, allocations: 384 / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1613, allocations: 50.19 kB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1613, allocations: 3.938 kB / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1613, allocations: 0 / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1614, allocations: 7.984 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1615, allocations: 31.97 kB / 0.6676 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1619, allocations: 248.9 kB / 0.6678 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1621, allocations: 46.47 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.1622, allocations: 20.91 kB / 0.6679 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007949/0.163, allocations: 461.5 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.163, allocations: 30.56 kB / 0.6684 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.547e-06/0.163, allocations: 4 kB / 0.6684 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003834/0.1634, allocations: 85.58 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1635, allocations: 51.41 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.1636, allocations: 105.7 kB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1636, allocations: 25.7 kB / 0.6686 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1636, allocations: 92.06 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.1637, allocations: 4.078 kB / 0.6687 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1637, allocations: 17.72 kB / 0.6687 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1639, allocations: 314.8 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.164, allocations: 15.98 kB / 0.6691 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.164, allocations: 15.97 kB / 0.6691 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1642, allocations: 40.89 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1642, allocations: 3.938 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.1644, allocations: 65.66 kB / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1644, allocations: 4 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1645, allocations: 0 / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1645, allocations: 0 / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.1646, allocations: 19.92 kB / 0.6692 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1646, allocations: 0 / 0.6692 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1646, allocations: 8.031 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1646, allocations: 4 kB / 0.6692 GB, free: 0.8359 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 8.206e-05/0.1647, allocations: 113.8 kB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1647, allocations: 4.188 kB / 0.6693 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.165, allocations: 76.72 kB / 0.6694 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.165, allocations: 0 / 0.6694 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.165, allocations: 4.031 kB / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.165, allocations: 0 / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1652, allocations: 161.6 kB / 0.6696 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1652, allocations: 0 / 0.6696 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.1653, allocations: 7.984 kB / 0.6696 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1653, allocations: 3.938 kB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1653, allocations: 0 / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1653, allocations: 4 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1653, allocations: 0 / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1656, allocations: 163.5 kB / 0.6697 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1656, allocations: 81.11 kB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1656, allocations: 3.984 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1657, allocations: 4 kB / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1657, allocations: 0 / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1657, allocations: 3.938 kB / 0.6698 GB, free: 116 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.1658, allocations: 87.3 kB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1658, allocations: 0 / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002593/0.1661, allocations: 27.94 kB / 0.6699 GB, free: 0 / 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.0007436/0.1668, allocations: 0.7436 MB / 0.6707 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1671, allocations: 39.95 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1671, allocations: 4.062 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.1672, allocations: 15.98 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1674, allocations: 4 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.1679, allocations: 147 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1682, allocations: 0.6729 MB / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.1682, allocations: 0 / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.1683, allocations: 11.42 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1683, allocations: 4.062 kB / 0.6715 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1914, allocations: 1.742 MB / 0.6732 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.063, allocations: 10.36 kB / 0.6732 GB, free: 12.58 MB / 0.5137 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)