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.001206/0.001206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001986/0.001986, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.917/0.917, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.98 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.157, allocations: 80.92 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001766/0.1588, allocations: 0.6388 MB / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.1594, allocations: 288.7 kB / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-06/0.1594, allocations: 0 / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.1594, allocations: 0 / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-06/0.1594, allocations: 0 / 0.5849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1598, allocations: 83.86 kB / 0.585 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.617e-05/0.1599, allocations: 3.938 kB / 0.585 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.1599, allocations: 4 kB / 0.585 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.007e-05/0.1599, allocations: 0 / 0.585 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.363e-05/0.1599, allocations: 4 kB / 0.585 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.16, allocations: 0 / 0.585 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1602, allocations: 131.7 kB / 0.5851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-06/0.1602, allocations: 3.938 kB / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.1602, allocations: 4 kB / 0.5851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1604, allocations: 75.88 kB / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1604, allocations: 0 / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1604, allocations: 0 / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1604, allocations: 0 / 0.5852 GB, free: 3.555 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.00026/0.1606, allocations: 323.6 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1607, allocations: 19.97 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.1607, allocations: 30.75 kB / 0.5856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.684e-05/0.1607, allocations: 0.9375 kB / 0.5856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.386e-05/0.1608, allocations: 160.4 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.1608, allocations: 384 / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1608, allocations: 384 / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.1609, allocations: 34.27 kB / 0.5857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.161, allocations: 3.938 kB / 0.5857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.161, allocations: 3.938 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.161, allocations: 0 / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.161, allocations: 7.984 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.1611, allocations: 149.7 kB / 0.5859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.1612, allocations: 18.52 kB / 0.5859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.1612, allocations: 4.859 kB / 0.5859 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.1618, allocations: 465.5 kB / 0.5864 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1619, allocations: 30.56 kB / 0.5864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.1619, allocations: 0 / 0.5864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001075/0.162, allocations: 45.52 kB / 0.5864 GB, free: 2.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.162, allocations: 51.41 kB / 0.5865 GB, free: 1.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.1621, allocations: 89.86 kB / 0.5866 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1621, allocations: 25.83 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.1621, allocations: 88.14 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1621, allocations: 3.906 kB / 0.5867 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.1622, allocations: 13.7 kB / 0.5867 GB, free: 1.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1623, allocations: 310.8 kB / 0.587 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.1623, allocations: 4 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.1623, allocations: 0 / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.1623, allocations: 12.86 kB / 0.587 GB, free: 1.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1623, allocations: 4.062 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.943e-05/0.1624, allocations: 33.64 kB / 0.587 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1624, allocations: 5.875 kB / 0.587 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1624, allocations: 7.922 kB / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.1624, allocations: 0 / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.1625, allocations: 4 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1625, allocations: 0 / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.1625, allocations: 0 / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.1625, allocations: 0 / 0.5871 GB, free: 1.316 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 6.482e-05/0.1626, allocations: 113.9 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.1626, allocations: 0 / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.1626, allocations: 44.75 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1627, allocations: 0 / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1627, allocations: 0 / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1627, allocations: 0 / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.645e-05/0.1628, allocations: 145.7 kB / 0.5873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1628, allocations: 3.938 kB / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.1628, allocations: 4 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1628, allocations: 4.031 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1628, allocations: 3.938 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1628, allocations: 3.984 kB / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1628, allocations: 0 / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.813e-05/0.1629, allocations: 61.08 kB / 0.5874 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.1629, allocations: 77.11 kB / 0.5875 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1629, allocations: 3.938 kB / 0.5875 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.1629, allocations: 3.938 kB / 0.5875 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.163, allocations: 8.016 kB / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.163, allocations: 4 kB / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.359e-05/0.163, allocations: 75.28 kB / 0.5876 GB, free: 0.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 0 / 0.5876 GB, free: 0.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1632, allocations: 24 kB / 0.5876 GB, free: 0.6445 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.0004535/0.1637, allocations: 0.6323 MB / 0.5882 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.16e-05/0.1637, allocations: 7.938 kB / 0.5882 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1638, allocations: 0 / 0.5882 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.1638, allocations: 4.062 kB / 0.5882 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.1639, allocations: 4 kB / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.1641, allocations: 122.5 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1644, allocations: 0.669 MB / 0.589 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.307e-06/0.1644, allocations: 0 / 0.589 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.1644, allocations: 11.44 kB / 0.589 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1644, allocations: 0 / 0.589 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009544/0.1739, allocations: 1.285 MB / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.1741, allocations: 195.5 kB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.104, allocations: 4 kB / 0.5905 GB, free: 13.68 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)