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.006884/0.006884, allocations: 98.52 kB / 15.73 MB, free: 5.578 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.001416/0.001416, allocations: 188.4 kB / 16.67 MB, free: 5.516 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8034/0.8034, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.12 kB / 0.5851 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1508, allocations: 80.93 MB / 0.6642 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.003044/0.1539, allocations: 1.43 MB / 0.6656 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.1547, allocations: 343.7 kB / 0.6659 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1548, allocations: 4 kB / 0.6659 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.1548, allocations: 3.938 kB / 0.6659 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.1549, allocations: 3.938 kB / 0.6659 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.1555, allocations: 99.7 kB / 0.666 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.1556, allocations: 27.92 kB / 0.666 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1558, allocations: 4 kB / 0.666 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.1558, allocations: 8 kB / 0.666 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.1559, allocations: 11.92 kB / 0.666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1559, allocations: 0 / 0.666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1562, allocations: 123.8 kB / 0.6662 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1562, allocations: 3.984 kB / 0.6662 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.1563, allocations: 11.88 kB / 0.6662 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1565, allocations: 91.95 kB / 0.6663 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1565, allocations: 4 kB / 0.6663 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1565, allocations: 4 kB / 0.6663 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.1566, allocations: 0 / 0.6663 GB, free: 4.258 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.0005921/0.1572, allocations: 351.3 kB / 0.6666 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.1572, allocations: 13.11 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1573, allocations: 34.73 kB / 0.6667 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1573, allocations: 0.9375 kB / 0.6667 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1575, allocations: 164.4 kB / 0.6668 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1575, allocations: 4.375 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1575, allocations: 4.375 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1577, allocations: 54.17 kB / 0.6669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1577, allocations: 3.938 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1577, allocations: 0 / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1577, allocations: 0 / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1579, allocations: 35.95 kB / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.1583, allocations: 252.9 kB / 0.6671 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1585, allocations: 38.5 kB / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.1586, allocations: 24.89 kB / 0.6672 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007702/0.1593, allocations: 461.4 kB / 0.6676 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1594, allocations: 30.56 kB / 0.6677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1594, allocations: 0 / 0.6677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004062/0.1598, allocations: 81.64 kB / 0.6678 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1599, allocations: 51.53 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.1599, allocations: 105.8 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.16, allocations: 25.7 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.16, allocations: 92.02 kB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1601, allocations: 3.953 kB / 0.668 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1601, allocations: 13.72 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1602, allocations: 318.8 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.1603, allocations: 15.92 kB / 0.6684 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.1604, allocations: 19.98 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1606, allocations: 40.81 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1606, allocations: 3.938 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.1608, allocations: 61.67 kB / 0.6685 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1608, allocations: 4.094 kB / 0.6685 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1608, allocations: 4 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1608, allocations: 0 / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.1609, allocations: 11.98 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.161, allocations: 0 / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.161, allocations: 7.984 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.161, allocations: 3.938 kB / 0.6685 GB, free: 1.641 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 9.575e-05/0.1611, allocations: 121.7 kB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1612, allocations: 0 / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1614, allocations: 76.73 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1614, allocations: 192 / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1614, allocations: 0 / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1614, allocations: 7.984 kB / 0.6687 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1616, allocations: 161.6 kB / 0.6689 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1616, allocations: 0 / 0.6689 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.1617, allocations: 7.984 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1617, allocations: 0 / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1617, allocations: 8.031 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1617, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1617, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.162, allocations: 163.4 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.162, allocations: 77.11 kB / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1621, allocations: 4 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.1621, allocations: 16.02 kB / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1622, allocations: 0 / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1622, allocations: 4 kB / 0.6691 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.1622, allocations: 75.28 kB / 0.6692 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 3.938 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002623/0.1625, allocations: 31.92 kB / 0.6692 GB, free: 0.793 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.0006476/0.1632, allocations: 0.7487 MB / 0.67 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1634, allocations: 35.97 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1634, allocations: 0 / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.1635, allocations: 19.97 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1638, allocations: 4 kB / 0.67 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1642, allocations: 147.2 kB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1645, allocations: 0.6806 MB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.1646, allocations: 0 / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.1646, allocations: 7.438 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1646, allocations: 0 / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.1839, allocations: 1.736 MB / 0.6725 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.774, allocations: 8.062 kB / 0.6725 GB, free: 13.38 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)