Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-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.Functions.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.005365/0.005366, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001286/0.001286, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7927/0.7927, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 72.83 kB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 80.91 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.002331/0.1574, allocations: 0.5603 MB / 0.6648 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000985/0.1584, allocations: 309.8 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.1585, allocations: 0 / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1585, allocations: 4 kB / 0.6651 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.057e-05/0.1586, allocations: 0 / 0.6651 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.1592, allocations: 107.6 kB / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.1593, allocations: 3.938 kB / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1594, allocations: 4 kB / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.1594, allocations: 0 / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.246e-05/0.1594, allocations: 0 / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1594, allocations: 0 / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.1597, allocations: 127.8 kB / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1598, allocations: 0 / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.1598, allocations: 0 / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.16, allocations: 76.05 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.16, allocations: 0 / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.16, allocations: 4 kB / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.16, allocations: 0 / 0.6654 GB, free: 5.062 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003014/0.1603, allocations: 331.4 kB / 0.6657 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1604, allocations: 9.109 kB / 0.6657 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.1604, allocations: 30.75 kB / 0.6657 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.1604, allocations: 4.938 kB / 0.6657 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.1605, allocations: 164.4 kB / 0.6659 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1605, allocations: 384 / 0.6659 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1606, allocations: 384 / 0.6659 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.1606, allocations: 34.2 kB / 0.6659 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1607, allocations: 7.875 kB / 0.6659 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1607, allocations: 4 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1607, allocations: 0 / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.1607, allocations: 0 / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1608, allocations: 153.7 kB / 0.6661 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.1609, allocations: 18.61 kB / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1609, allocations: 4.859 kB / 0.6661 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/0.1618, allocations: 477.5 kB / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1619, allocations: 30.56 kB / 0.6666 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1619, allocations: 4 kB / 0.6666 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002035/0.1621, allocations: 41.56 kB / 0.6666 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1621, allocations: 51.41 kB / 0.6667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.1622, allocations: 89.86 kB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1622, allocations: 33.64 kB / 0.6668 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1623, allocations: 80.14 kB / 0.6669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1623, allocations: 4 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.1624, allocations: 9.719 kB / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1625, allocations: 315 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.1625, allocations: 0 / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.1625, allocations: 4 kB / 0.6672 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.1626, allocations: 8.797 kB / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1626, allocations: 0 / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.419e-05/0.1626, allocations: 45.64 kB / 0.6672 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1627, allocations: 4 kB / 0.6672 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1627, allocations: 3.938 kB / 0.6672 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1627, allocations: 4.094 kB / 0.6672 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.1628, allocations: 4 kB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1628, allocations: 0 / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.1628, allocations: 0 / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1628, allocations: 0 / 0.6672 GB, free: 2.805 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 (1): * Single equations (assignments): 1 * 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.164e-05/0.1629, allocations: 105.8 kB / 0.6673 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1629, allocations: 4 kB / 0.6673 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.163, allocations: 48.69 kB / 0.6674 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.163, allocations: 4.031 kB / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.163, allocations: 0 / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.163, allocations: 3.938 kB / 0.6674 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.1631, allocations: 145.7 kB / 0.6675 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1631, allocations: 0 / 0.6675 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.1632, allocations: 4 kB / 0.6675 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1632, allocations: 0 / 0.6675 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1632, allocations: 7.922 kB / 0.6676 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1632, allocations: 0 / 0.6676 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1632, allocations: 3.984 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.854e-05/0.1633, allocations: 65.08 kB / 0.6676 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.1633, allocations: 81.09 kB / 0.6677 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1633, allocations: 3.938 kB / 0.6677 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.1633, allocations: 4 kB / 0.6677 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.1634, allocations: 0 / 0.6677 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.1634, allocations: 0 / 0.6677 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.1634, allocations: 75.28 kB / 0.6678 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1634, allocations: 4 kB / 0.6678 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002514/0.1637, allocations: 27.97 kB / 0.6678 GB, free: 2.121 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 (1): * Single equations (assignments): 1 * 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.0004954/0.1642, allocations: 0.6332 MB / 0.6684 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.001e-05/0.1642, allocations: 11.88 kB / 0.6684 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1643, allocations: 0 / 0.6684 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.1643, allocations: 0 / 0.6684 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1644, allocations: 8 kB / 0.6684 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.1647, allocations: 122.6 kB / 0.6686 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.165, allocations: 0.6729 MB / 0.6692 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.12e-05/0.165, allocations: 0 / 0.6692 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.165, allocations: 7.438 kB / 0.6692 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.165, allocations: 0 / 0.6692 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.182, allocations: 1.382 MB / 0.6706 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.722, allocations: 9.406 kB / 0.6706 GB, free: 15.25 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)