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.008054/0.008054, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00187/0.00187, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8428/0.8428, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.44 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.00252/0.1575, allocations: 1.421 MB / 0.6606 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.1583, allocations: 359.5 kB / 0.6609 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1583, allocations: 4 kB / 0.6609 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.1583, allocations: 0 / 0.6609 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.1584, allocations: 7.938 kB / 0.6609 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.1589, allocations: 103.7 kB / 0.661 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.1589, allocations: 27.91 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.159, allocations: 4 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.1591, allocations: 8 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.1591, allocations: 11.92 kB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1591, allocations: 3.938 kB / 0.6611 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.1594, allocations: 135.8 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.1594, allocations: 4 kB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.1594, allocations: 7.922 kB / 0.6612 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1596, allocations: 95.95 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1596, allocations: 0 / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1596, allocations: 0 / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1596, allocations: 0 / 0.6613 GB, free: 8.52 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.0004646/0.1601, allocations: 359.2 kB / 0.6617 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1602, allocations: 12.03 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1602, allocations: 34.75 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1602, allocations: 0.9375 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1603, allocations: 164.4 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1604, allocations: 384 / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.1604, allocations: 384 / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1606, allocations: 54.17 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1606, allocations: 3.938 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1606, allocations: 0 / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1606, allocations: 0 / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1608, allocations: 39.95 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.1611, allocations: 244.9 kB / 0.6622 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1612, allocations: 42.48 kB / 0.6622 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.1613, allocations: 32.84 kB / 0.6623 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.1621, allocations: 465.4 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1621, allocations: 38.56 kB / 0.6628 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.1621, allocations: 4 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.1625, allocations: 77.58 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1625, allocations: 51.41 kB / 0.6629 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.1626, allocations: 105.8 kB / 0.663 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1626, allocations: 25.7 kB / 0.663 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1627, allocations: 88.2 kB / 0.6631 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1627, allocations: 7.953 kB / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1627, allocations: 13.72 kB / 0.6631 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1628, allocations: 318.8 kB / 0.6634 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.1629, allocations: 15.98 kB / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.163, allocations: 15.98 kB / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1632, allocations: 36.89 kB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1632, allocations: 7.938 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.1634, allocations: 65.66 kB / 0.6635 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1634, allocations: 8 kB / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1634, allocations: 0 / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1634, allocations: 0 / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.1635, allocations: 11.95 kB / 0.6636 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1635, allocations: 7.938 kB / 0.6636 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1636, allocations: 7.984 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1636, allocations: 0 / 0.6636 GB, free: 5.879 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 6.216e-05/0.1637, allocations: 114.7 kB / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1637, allocations: 3.953 kB / 0.6637 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1639, allocations: 72.78 kB / 0.6638 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1639, allocations: 4.031 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1639, allocations: 4 kB / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1639, allocations: 0 / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1641, allocations: 161.6 kB / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1641, allocations: 0 / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.1642, allocations: 8 kB / 0.6639 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1642, allocations: 3.984 kB / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1642, allocations: 0 / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1642, allocations: 0 / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1642, allocations: 3.938 kB / 0.6639 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1644, allocations: 171.5 kB / 0.6641 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1645, allocations: 77.11 kB / 0.6642 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1645, allocations: 0 / 0.6642 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1646, allocations: 7.938 kB / 0.6642 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1646, allocations: 7.984 kB / 0.6642 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1646, allocations: 4.031 kB / 0.6642 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.1647, allocations: 83.28 kB / 0.6643 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.6643 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002568/0.1649, allocations: 27.94 kB / 0.6643 GB, free: 5.035 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.0006144/0.1656, allocations: 0.7434 MB / 0.665 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1658, allocations: 35.97 kB / 0.6651 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1658, allocations: 0 / 0.6651 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.1659, allocations: 23.97 kB / 0.6651 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1661, allocations: 4.609 kB / 0.6651 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.1665, allocations: 143 kB / 0.6652 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1668, allocations: 0.6768 MB / 0.6659 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1668, allocations: 4.125 kB / 0.6659 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1668, allocations: 15.44 kB / 0.6659 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1669, allocations: 0 / 0.6659 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1861, allocations: 1.754 MB / 0.6676 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.68, allocations: 4 kB / 0.6676 GB, free: 1.617 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)