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.0008615/0.0008616, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004825/0.004825, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6814/0.6814, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 8.234 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.001342/0.3308, allocations: 1.154 MB / 0.5849 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.3315, allocations: 363.6 kB / 0.5852 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.3315, allocations: 0.5625 kB / 0.5852 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.3315, allocations: 0.5156 kB / 0.5852 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.3316, allocations: 6.562 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.3319, allocations: 77.98 kB / 0.5853 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.3319, allocations: 23.38 kB / 0.5853 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.332, allocations: 4.938 kB / 0.5853 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.3321, allocations: 9.969 kB / 0.5853 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.3321, allocations: 9.594 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.3321, allocations: 1.969 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3323, allocations: 134.7 kB / 0.5855 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.3323, allocations: 0.7031 kB / 0.5855 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.3324, allocations: 37.52 kB / 0.5855 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.3325, allocations: 84.16 kB / 0.5856 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3325, allocations: 0 / 0.5856 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3326, allocations: 0 / 0.5856 GB, free: 2.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.3326, allocations: 0.875 kB / 0.5856 GB, free: 2.797 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.0003263/0.3329, allocations: 363.6 kB / 0.5859 GB, free: 2.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3329, allocations: 14 kB / 0.586 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.038e-05/0.333, allocations: 31.53 kB / 0.586 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.333, allocations: 3.719 kB / 0.586 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.333, allocations: 162.4 kB / 0.5861 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3331, allocations: 5.25 kB / 0.5861 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.3331, allocations: 1.562 kB / 0.5861 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3332, allocations: 62.36 kB / 0.5862 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3333, allocations: 3.938 kB / 0.5862 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3333, allocations: 0.6875 kB / 0.5862 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3333, allocations: 0.75 kB / 0.5862 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3335, allocations: 46.17 kB / 0.5863 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.3337, allocations: 259 kB / 0.5865 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3338, allocations: 45.52 kB / 0.5865 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.3339, allocations: 27.95 kB / 0.5866 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/0.3344, allocations: 463 kB / 0.587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3344, allocations: 36.59 kB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3344, allocations: 0 / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003309/0.3348, allocations: 94.12 kB / 0.5871 GB, free: 1.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.3348, allocations: 57.08 kB / 0.5872 GB, free: 1.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.3348, allocations: 100.6 kB / 0.5873 GB, free: 1.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.3349, allocations: 26.52 kB / 0.5873 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.3349, allocations: 82.23 kB / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.3349, allocations: 5.547 kB / 0.5874 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.3349, allocations: 10.53 kB / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.335, allocations: 316.8 kB / 0.5877 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.3351, allocations: 25.94 kB / 0.5877 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.3351, allocations: 23.89 kB / 0.5878 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3353, allocations: 50.95 kB / 0.5878 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3353, allocations: 3.938 kB / 0.5878 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001879/0.3355, allocations: 73.17 kB / 0.5879 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3355, allocations: 9.438 kB / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3355, allocations: 192 / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3355, allocations: 1.031 kB / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.3356, allocations: 11.75 kB / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3356, allocations: 0 / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.3357, allocations: 13.27 kB / 0.5879 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3357, allocations: 4.688 kB / 0.5879 GB, free: 0.543 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 4.129e-05/0.3357, allocations: 125.8 kB / 0.588 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.3358, allocations: 0.9688 kB / 0.588 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.336, allocations: 77.3 kB / 0.5881 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.336, allocations: 0.6562 kB / 0.5881 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.336, allocations: 9.031 kB / 0.5881 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.336, allocations: 0 / 0.5881 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.3361, allocations: 164 kB / 0.5883 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3361, allocations: 0 / 0.5883 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.3362, allocations: 12.02 kB / 0.5883 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3362, allocations: 1.156 kB / 0.5883 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-06/0.3362, allocations: 4 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3362, allocations: 0.7031 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3362, allocations: 1.969 kB / 0.5883 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3364, allocations: 175.1 kB / 0.5885 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.3365, allocations: 79.17 kB / 0.5885 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3365, allocations: 0.6875 kB / 0.5885 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.3366, allocations: 13.12 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.3366, allocations: 5.75 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3366, allocations: 1.656 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.3367, allocations: 80.86 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3367, allocations: 0 / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.3369, allocations: 27.77 kB / 0.5887 GB, free: 15.84 MB / 446.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.0006358/0.3376, allocations: 0.7417 MB / 0.5894 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.3378, allocations: 44.89 kB / 0.5894 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3378, allocations: 5.375 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.3379, allocations: 24.97 kB / 0.5895 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3381, allocations: 5.562 kB / 0.5895 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.3385, allocations: 152.7 kB / 0.5896 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.3387, allocations: 0.6845 MB / 0.5903 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3388, allocations: 4 kB / 0.5903 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.3388, allocations: 17.59 kB / 0.5903 GB, free: 14.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3388, allocations: 0 / 0.5903 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/0.4721, allocations: 1.471 MB / 0.5917 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.4724, allocations: 178.4 kB / 0.5919 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.181, allocations: 0 / 0.5919 GB, free: 13.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)