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.004859/0.004859, allocations: 106.1 kB / 15.74 MB, free: 6.445 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.0013/0.0013, allocations: 196 kB / 16.67 MB, free: 6.352 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.5 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.91 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4078, allocations: 81.02 MB / 0.6649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY1): time 0.001737/0.4096, allocations: 0.5708 MB / 0.6655 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.4103, allocations: 303.1 kB / 0.6658 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.4103, allocations: 0 / 0.6658 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.4104, allocations: 0 / 0.6658 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-06/0.4104, allocations: 9.031 kB / 0.6658 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.4109, allocations: 100.9 kB / 0.6659 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.826e-05/0.411, allocations: 5.516 kB / 0.6659 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.411, allocations: 1.469 kB / 0.6659 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.411, allocations: 0 / 0.6659 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.236e-05/0.4111, allocations: 5.531 kB / 0.6659 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.4111, allocations: 3.938 kB / 0.6659 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.4113, allocations: 123.6 kB / 0.666 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.4113, allocations: 0 / 0.666 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.4114, allocations: 1.125 kB / 0.666 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.4115, allocations: 76.39 kB / 0.6661 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4115, allocations: 0 / 0.6661 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4115, allocations: 0 / 0.6661 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4115, allocations: 1.719 kB / 0.6661 GB, free: 6.164 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.0002357/0.4118, allocations: 324.4 kB / 0.6664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4118, allocations: 12.84 kB / 0.6664 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.4119, allocations: 39.92 kB / 0.6664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.4119, allocations: 0.9375 kB / 0.6664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.4119, allocations: 160.4 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.412, allocations: 1.75 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.412, allocations: 8.359 kB / 0.6666 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.867e-05/0.412, allocations: 28.77 kB / 0.6666 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4121, allocations: 3.938 kB / 0.6666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.4121, allocations: 0 / 0.6666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4121, allocations: 0 / 0.6666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.4121, allocations: 2.844 kB / 0.6666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.931e-05/0.4122, allocations: 149.7 kB / 0.6668 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.746e-05/0.4122, allocations: 24.92 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.162e-05/0.4122, allocations: 6.078 kB / 0.6668 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.4129, allocations: 467.9 kB / 0.6672 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4129, allocations: 34.56 kB / 0.6673 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4129, allocations: 1.438 kB / 0.6673 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.413, allocations: 37.28 kB / 0.6673 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4131, allocations: 60.25 kB / 0.6674 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.561e-05/0.4131, allocations: 89.86 kB / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4131, allocations: 26.86 kB / 0.6675 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.4131, allocations: 80.14 kB / 0.6676 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4132, allocations: 8 kB / 0.6676 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4132, allocations: 16.03 kB / 0.6676 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.4132, allocations: 312 kB / 0.6679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.4132, allocations: 0 / 0.6679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.4133, allocations: 1.469 kB / 0.6679 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.4133, allocations: 15.72 kB / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4133, allocations: 0 / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.103e-05/0.4133, allocations: 38.41 kB / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4134, allocations: 10.66 kB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4134, allocations: 3.938 kB / 0.6679 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4134, allocations: 0 / 0.6679 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.4134, allocations: 6.438 kB / 0.668 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4134, allocations: 3.984 kB / 0.668 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.4135, allocations: 0 / 0.668 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4135, allocations: 5.719 kB / 0.668 GB, free: 4.008 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 3.773e-05/0.4135, allocations: 105.8 kB / 0.6681 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.4135, allocations: 5.109 kB / 0.6681 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.4136, allocations: 45.42 kB / 0.6681 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4136, allocations: 0 / 0.6681 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4136, allocations: 0 / 0.6681 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4136, allocations: 1.312 kB / 0.6681 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.856e-05/0.4137, allocations: 145.7 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4137, allocations: 1.156 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.4137, allocations: 5 kB / 0.6683 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4137, allocations: 1.094 kB / 0.6683 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.4137, allocations: 3.938 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4137, allocations: 1.594 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4137, allocations: 4.031 kB / 0.6683 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.573e-05/0.4138, allocations: 57.88 kB / 0.6683 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.4138, allocations: 78.86 kB / 0.6684 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.4138, allocations: 3.938 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.4138, allocations: 0 / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.4138, allocations: 1.031 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4138, allocations: 1.188 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.107e-05/0.4138, allocations: 79.31 kB / 0.6685 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4139, allocations: 0 / 0.6685 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002125/0.4141, allocations: 26.12 kB / 0.6685 GB, free: 3.387 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.0003622/0.4144, allocations: 0.6355 MB / 0.6691 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.4145, allocations: 6.703 kB / 0.6691 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4145, allocations: 5.656 kB / 0.6691 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-06/0.4145, allocations: 5.312 kB / 0.6691 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.4147, allocations: 5.375 kB / 0.6691 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.4149, allocations: 121.5 kB / 0.6693 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.415, allocations: 0.6741 MB / 0.6699 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.035e-05/0.4151, allocations: 1.062 kB / 0.6699 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.4151, allocations: 8.562 kB / 0.6699 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4151, allocations: 3.938 kB / 0.6699 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.4368, allocations: 1.399 MB / 0.6713 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.314, allocations: 6.375 kB / 0.6713 GB, free: 1.082 MB / 0.4981 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)