Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.008479/0.008479, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002002/0.002002, allocations: 202.3 kB / 16.68 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9791/0.9791, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.89 kB / 0.5858 GB, free: 3.148 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4367, allocations: 81.02 MB / 0.6649 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001546/0.4383, allocations: 0.5614 MB / 0.6655 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.4388, allocations: 296.4 kB / 0.6657 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.214e-05/0.4389, allocations: 0 / 0.6657 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.4389, allocations: 0 / 0.6657 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.4389, allocations: 1.375 kB / 0.6657 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.4393, allocations: 99.97 kB / 0.6658 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.577e-05/0.4393, allocations: 0 / 0.6658 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.4394, allocations: 13.44 kB / 0.6659 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.4394, allocations: 5.375 kB / 0.6659 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.587e-05/0.4394, allocations: 0 / 0.6659 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.4394, allocations: 0 / 0.6659 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.4396, allocations: 116 kB / 0.666 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.4397, allocations: 9.109 kB / 0.666 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.4397, allocations: 0 / 0.666 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.4398, allocations: 67.56 kB / 0.666 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4398, allocations: 1.25 kB / 0.666 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4398, allocations: 0 / 0.666 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.4398, allocations: 0 / 0.666 GB, free: 6.188 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.0002018/0.44, allocations: 326 kB / 0.6664 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4401, allocations: 9.188 kB / 0.6664 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.46e-05/0.4401, allocations: 34.73 kB / 0.6664 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.774e-05/0.4401, allocations: 6.594 kB / 0.6664 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.04e-05/0.4402, allocations: 164.3 kB / 0.6666 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.4402, allocations: 384 / 0.6666 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.4402, allocations: 384 / 0.6666 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.4403, allocations: 28.89 kB / 0.6666 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4403, allocations: 3.938 kB / 0.6666 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.4403, allocations: 4 kB / 0.6666 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4403, allocations: 5.5 kB / 0.6666 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.4403, allocations: 1.188 kB / 0.6666 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.328e-05/0.4404, allocations: 147.1 kB / 0.6667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.608e-05/0.4405, allocations: 19.64 kB / 0.6668 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.4405, allocations: 6.297 kB / 0.6668 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/0.441, allocations: 462.2 kB / 0.6672 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4411, allocations: 32.16 kB / 0.6672 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4411, allocations: 0 / 0.6672 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.4412, allocations: 37.64 kB / 0.6673 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.4412, allocations: 52.91 kB / 0.6673 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.368e-05/0.4412, allocations: 97.92 kB / 0.6674 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.4412, allocations: 25.7 kB / 0.6674 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-06/0.4412, allocations: 80.14 kB / 0.6675 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.4413, allocations: 5.219 kB / 0.6675 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.4413, allocations: 11.94 kB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.4413, allocations: 318.8 kB / 0.6678 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.4413, allocations: 1.062 kB / 0.6678 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.4414, allocations: 1.062 kB / 0.6678 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.4414, allocations: 15.27 kB / 0.6679 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4414, allocations: 1.5 kB / 0.6679 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.104e-05/0.4414, allocations: 37.95 kB / 0.6679 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4415, allocations: 5.031 kB / 0.6679 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4415, allocations: 5.312 kB / 0.6679 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4415, allocations: 0 / 0.6679 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.4415, allocations: 9.359 kB / 0.6679 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.4415, allocations: 3.984 kB / 0.6679 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-06/0.4415, allocations: 5.438 kB / 0.6679 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.4415, allocations: 4.031 kB / 0.6679 GB, free: 4.035 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.729e-05/0.4416, allocations: 107.2 kB / 0.668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.4416, allocations: 5.375 kB / 0.668 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.4417, allocations: 41.02 kB / 0.6681 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.4417, allocations: 0 / 0.6681 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4417, allocations: 3.984 kB / 0.6681 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.4417, allocations: 0 / 0.6681 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.306e-05/0.4417, allocations: 143.1 kB / 0.6682 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4417, allocations: 0 / 0.6682 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.4418, allocations: 6.562 kB / 0.6682 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4418, allocations: 0 / 0.6682 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.4418, allocations: 5.469 kB / 0.6682 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4418, allocations: 3.938 kB / 0.6682 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4418, allocations: 0 / 0.6682 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.4418, allocations: 59.59 kB / 0.6683 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.4419, allocations: 77.11 kB / 0.6684 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.4419, allocations: 5.281 kB / 0.6684 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.4419, allocations: 4.031 kB / 0.6684 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.4419, allocations: 0 / 0.6684 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.4419, allocations: 1.125 kB / 0.6684 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.113e-05/0.4419, allocations: 75.28 kB / 0.6684 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4419, allocations: 0 / 0.6684 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.4422, allocations: 30.3 kB / 0.6685 GB, free: 3.414 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.0003304/0.4425, allocations: 0.6347 MB / 0.6691 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.428e-05/0.4426, allocations: 12.28 kB / 0.6691 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4426, allocations: 0 / 0.6691 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.4426, allocations: 2.312 kB / 0.6691 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.4427, allocations: 7.281 kB / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.443, allocations: 114.2 kB / 0.6692 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.938e-05/0.4431, allocations: 0.6738 MB / 0.6699 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.789e-06/0.4431, allocations: 0 / 0.6699 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.4431, allocations: 8.844 kB / 0.6699 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4431, allocations: 0 / 0.6699 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4627, allocations: 1.386 MB / 0.6712 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.285, allocations: 15.31 kB / 0.6712 GB, free: 1.125 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)