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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001519/0.001519, allocations: 195.5 kB / 16.14 MB, free: 6.703 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9484/0.9484, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.02 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1553, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001797/0.1572, allocations: 0.6323 MB / 0.5844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005798/0.1578, allocations: 308.7 kB / 0.5847 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.1578, allocations: 0 / 0.5847 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1578, allocations: 3.938 kB / 0.5847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.1578, allocations: 0 / 0.5847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1582, allocations: 75.8 kB / 0.5848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.835e-05/0.1582, allocations: 8 kB / 0.5848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.1583, allocations: 0 / 0.5848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.158e-05/0.1583, allocations: 0 / 0.5848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.031e-05/0.1583, allocations: 3.984 kB / 0.5848 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-06/0.1583, allocations: 0 / 0.5848 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1585, allocations: 127.8 kB / 0.5849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1586, allocations: 4 kB / 0.5849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.1586, allocations: 3.938 kB / 0.585 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1587, allocations: 75.83 kB / 0.585 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1587, allocations: 4 kB / 0.585 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1587, allocations: 0 / 0.585 GB, free: 3.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1588, allocations: 0 / 0.585 GB, free: 3.641 MB / 494.1 MB 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.0002735/0.159, allocations: 323.6 kB / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1591, allocations: 8.031 kB / 0.5853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.1591, allocations: 34.75 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.755e-05/0.1591, allocations: 0.9375 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.1592, allocations: 160.4 kB / 0.5855 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1592, allocations: 384 / 0.5855 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.1592, allocations: 4.375 kB / 0.5855 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.865e-05/0.1593, allocations: 34.27 kB / 0.5856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1593, allocations: 7.875 kB / 0.5856 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1593, allocations: 3.984 kB / 0.5856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.1594, allocations: 0 / 0.5856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.1594, allocations: 0 / 0.5856 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1595, allocations: 141.7 kB / 0.5857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.224e-05/0.1595, allocations: 18.61 kB / 0.5857 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.1595, allocations: 12.86 kB / 0.5857 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/0.1603, allocations: 453.5 kB / 0.5862 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1603, allocations: 34.56 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.234e-06/0.1603, allocations: 4 kB / 0.5862 GB, free: 2.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.1604, allocations: 41.58 kB / 0.5863 GB, free: 2.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1605, allocations: 51.41 kB / 0.5863 GB, free: 2.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.149e-05/0.1605, allocations: 93.8 kB / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1605, allocations: 25.7 kB / 0.5864 GB, free: 1.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.1606, allocations: 84.12 kB / 0.5865 GB, free: 1.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1606, allocations: 7.906 kB / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.1606, allocations: 9.719 kB / 0.5865 GB, free: 1.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1607, allocations: 315 kB / 0.5868 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.1607, allocations: 0 / 0.5868 GB, free: 1.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.1608, allocations: 11.94 kB / 0.5868 GB, free: 1.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.1608, allocations: 8.797 kB / 0.5868 GB, free: 1.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1608, allocations: 0 / 0.5868 GB, free: 1.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.727e-05/0.1608, allocations: 37.69 kB / 0.5869 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1609, allocations: 4 kB / 0.5869 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1609, allocations: 3.938 kB / 0.5869 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1609, allocations: 4.094 kB / 0.5869 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.1609, allocations: 4 kB / 0.5869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.41 MB / 494.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 (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 5.505e-05/0.161, allocations: 105.8 kB / 0.587 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.161, allocations: 3.984 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1612, allocations: 52.69 kB / 0.587 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1612, allocations: 0 / 0.587 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1612, allocations: 4.031 kB / 0.587 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1612, allocations: 0 / 0.587 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.601e-05/0.1613, allocations: 141.7 kB / 0.5872 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1613, allocations: 0 / 0.5872 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.1613, allocations: 8 kB / 0.5872 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1613, allocations: 3.984 kB / 0.5872 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.1614, allocations: 3.938 kB / 0.5872 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1614, allocations: 0 / 0.5872 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1614, allocations: 0 / 0.5872 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.912e-05/0.1615, allocations: 65.08 kB / 0.5873 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.1615, allocations: 77.11 kB / 0.5873 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1615, allocations: 7.922 kB / 0.5873 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.1615, allocations: 0 / 0.5873 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.1615, allocations: 0 / 0.5873 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1615, allocations: 3.938 kB / 0.5873 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.1616, allocations: 75.28 kB / 0.5874 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1616, allocations: 0 / 0.5874 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1618, allocations: 28 kB / 0.5874 GB, free: 0.7383 MB / 494.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 (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.000421/0.1622, allocations: 0.6362 MB / 0.5881 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.1623, allocations: 11.94 kB / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1623, allocations: 0 / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.1623, allocations: 0 / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1624, allocations: 4 kB / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.1627, allocations: 108.5 kB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.1629, allocations: 0.6771 MB / 0.5888 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.1629, allocations: 8 kB / 0.5888 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.1629, allocations: 11.44 kB / 0.5889 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.163, allocations: 0 / 0.5889 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.1731, allocations: 1.246 MB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.1733, allocations: 192.6 kB / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.126, allocations: 0 / 0.5903 GB, free: 13.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)