Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.52 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3852, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.002816/0.3881, allocations: 1.427 MB / 0.5816 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.3887, allocations: 350.6 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.3888, allocations: 4 kB / 0.5819 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.3888, allocations: 2.047 kB / 0.5819 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.3889, allocations: 3.938 kB / 0.5819 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.3894, allocations: 102.4 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.3894, allocations: 23.45 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.3895, allocations: 8.359 kB / 0.582 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.3896, allocations: 5.062 kB / 0.5821 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.3896, allocations: 13.77 kB / 0.5821 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3896, allocations: 6.656 kB / 0.5821 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3898, allocations: 118.1 kB / 0.5822 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.3899, allocations: 6.297 kB / 0.5822 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.3899, allocations: 11.08 kB / 0.5822 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3901, allocations: 83.59 kB / 0.5823 GB, free: 3.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3901, allocations: 2.047 kB / 0.5823 GB, free: 3.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3901, allocations: 0 / 0.5823 GB, free: 3.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3901, allocations: 0 / 0.5823 GB, free: 3.184 MB / 430.1 MB 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.0003578/0.3905, allocations: 354.2 kB / 0.5826 GB, free: 2.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3905, allocations: 17.03 kB / 0.5826 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.3905, allocations: 36.34 kB / 0.5827 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.3906, allocations: 2.875 kB / 0.5827 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.3906, allocations: 166.3 kB / 0.5828 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3906, allocations: 1.594 kB / 0.5828 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.3907, allocations: 1.219 kB / 0.5828 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3908, allocations: 49.61 kB / 0.5829 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3908, allocations: 3.938 kB / 0.5829 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3909, allocations: 1.875 kB / 0.5829 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3909, allocations: 4 kB / 0.5829 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.391, allocations: 36.05 kB / 0.5829 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.3913, allocations: 254.9 kB / 0.5832 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3914, allocations: 36.94 kB / 0.5832 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.3915, allocations: 27.89 kB / 0.5832 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.3921, allocations: 460.8 kB / 0.5837 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.3921, allocations: 32.66 kB / 0.5837 GB, free: 1.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3921, allocations: 4 kB / 0.5837 GB, free: 1.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000339/0.3924, allocations: 84.08 kB / 0.5838 GB, free: 1.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.3925, allocations: 51.41 kB / 0.5838 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.714e-05/0.3925, allocations: 97.48 kB / 0.5839 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.3925, allocations: 26.52 kB / 0.584 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.3925, allocations: 85.56 kB / 0.584 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.3926, allocations: 9.594 kB / 0.584 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.3926, allocations: 12.34 kB / 0.5841 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.3926, allocations: 317 kB / 0.5844 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.3927, allocations: 14.62 kB / 0.5844 GB, free: 1.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3928, allocations: 21.58 kB / 0.5844 GB, free: 1.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.393, allocations: 42.58 kB / 0.5844 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.393, allocations: 3.938 kB / 0.5844 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.3932, allocations: 66.42 kB / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3932, allocations: 6.094 kB / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3932, allocations: 0 / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3932, allocations: 0.5156 kB / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.3933, allocations: 10.22 kB / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3933, allocations: 4.031 kB / 0.5845 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.3934, allocations: 5.375 kB / 0.5845 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3934, allocations: 9.594 kB / 0.5845 GB, free: 0.9336 MB / 430.1 MB 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 5.429e-05/0.3934, allocations: 116.8 kB / 0.5846 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3935, allocations: 6.469 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3937, allocations: 70.72 kB / 0.5847 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3937, allocations: 5.5 kB / 0.5847 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3937, allocations: 0 / 0.5847 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3937, allocations: 0.6094 kB / 0.5847 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3938, allocations: 159.3 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3939, allocations: 1.062 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.3939, allocations: 8.828 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3939, allocations: 0 / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3939, allocations: 1.438 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3939, allocations: 1.594 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.394, allocations: 0 / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3942, allocations: 166.8 kB / 0.5851 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.3942, allocations: 77.77 kB / 0.5851 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3942, allocations: 1.953 kB / 0.5851 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.3943, allocations: 6.109 kB / 0.5851 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3943, allocations: 5.578 kB / 0.5851 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3943, allocations: 1.844 kB / 0.5851 GB, free: 332 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.01e-05/0.3944, allocations: 92.34 kB / 0.5852 GB, free: 244 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3944, allocations: 0 / 0.5852 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3947, allocations: 29.19 kB / 0.5853 GB, free: 240 kB / 430.1 MB 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.0006094/0.3953, allocations: 0.7316 MB / 0.586 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3955, allocations: 39.2 kB / 0.586 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3955, allocations: 4.062 kB / 0.586 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.3956, allocations: 20.97 kB / 0.586 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3958, allocations: 5.328 kB / 0.586 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.3963, allocations: 146 kB / 0.5862 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.3965, allocations: 0.679 MB / 0.5868 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3965, allocations: 6.703 kB / 0.5868 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.3965, allocations: 12.94 kB / 0.5869 GB, free: 14.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3965, allocations: 3.938 kB / 0.5869 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.4136, allocations: 1.694 MB / 0.5885 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.704, allocations: 7.203 kB / 0.5885 GB, free: 14.3 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)