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.001447/0.001447, 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.001629/0.001629, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.86 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1496, allocations: 80.21 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.002428/0.1521, allocations: 1.489 MB / 0.581 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.1528, allocations: 359.8 kB / 0.5813 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.1529, allocations: 7.938 kB / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.1529, allocations: 0 / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.1529, allocations: 3.984 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1533, allocations: 83.8 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.1533, allocations: 23.86 kB / 0.5814 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.776e-05/0.1534, allocations: 4 kB / 0.5814 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.1534, allocations: 4 kB / 0.5814 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1535, allocations: 11.92 kB / 0.5814 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.1535, allocations: 7.938 kB / 0.5814 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1538, allocations: 135.8 kB / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.1538, allocations: 7.984 kB / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.1538, allocations: 3.938 kB / 0.5816 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.154, allocations: 83.86 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.154, allocations: 4 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.154, allocations: 0 / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.154, allocations: 0 / 0.5817 GB, free: 6.891 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004045/0.1544, allocations: 364.8 kB / 0.582 GB, free: 6.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1545, allocations: 12.03 kB / 0.582 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1545, allocations: 34.69 kB / 0.5821 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.1545, allocations: 0.9375 kB / 0.5821 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.1546, allocations: 168.3 kB / 0.5822 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1547, allocations: 4.375 kB / 0.5822 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1547, allocations: 384 / 0.5822 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1548, allocations: 50.23 kB / 0.5823 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1548, allocations: 3.938 kB / 0.5823 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1549, allocations: 4 kB / 0.5823 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1549, allocations: 0 / 0.5823 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.155, allocations: 35.95 kB / 0.5823 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.1553, allocations: 244.9 kB / 0.5825 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1554, allocations: 46.48 kB / 0.5826 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.1555, allocations: 20.91 kB / 0.5826 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.1562, allocations: 453.5 kB / 0.583 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1562, allocations: 38.55 kB / 0.5831 GB, free: 5.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1562, allocations: 0 / 0.5831 GB, free: 5.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.1566, allocations: 81.59 kB / 0.5832 GB, free: 5.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1566, allocations: 51.41 kB / 0.5832 GB, free: 5.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.1567, allocations: 101.8 kB / 0.5833 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1567, allocations: 25.7 kB / 0.5833 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1567, allocations: 88.27 kB / 0.5834 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1567, allocations: 3.906 kB / 0.5834 GB, free: 4.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1568, allocations: 17.7 kB / 0.5834 GB, free: 4.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1569, allocations: 314.8 kB / 0.5837 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.157, allocations: 11.98 kB / 0.5837 GB, free: 4.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.1571, allocations: 15.98 kB / 0.5838 GB, free: 4.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1573, allocations: 44.88 kB / 0.5838 GB, free: 4.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1573, allocations: 3.938 kB / 0.5838 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.1575, allocations: 73.55 kB / 0.5839 GB, free: 4.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1575, allocations: 4 kB / 0.5839 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1575, allocations: 3.984 kB / 0.5839 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1575, allocations: 192 / 0.5839 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.1576, allocations: 15.97 kB / 0.5839 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1576, allocations: 0 / 0.5839 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1577, allocations: 7.984 kB / 0.5839 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1577, allocations: 0 / 0.5839 GB, free: 4.266 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 (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 7.282e-05/0.1578, allocations: 114.4 kB / 0.584 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1578, allocations: 11.89 kB / 0.584 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.158, allocations: 76.72 kB / 0.5841 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.158, allocations: 0 / 0.5841 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.158, allocations: 3.984 kB / 0.5841 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.158, allocations: 4 kB / 0.5841 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1582, allocations: 161.5 kB / 0.5843 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1582, allocations: 0 / 0.5843 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.1583, allocations: 7.984 kB / 0.5843 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1583, allocations: 0 / 0.5843 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1583, allocations: 4 kB / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1583, allocations: 0 / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1583, allocations: 0 / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1585, allocations: 163.5 kB / 0.5844 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.1586, allocations: 77.11 kB / 0.5845 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1586, allocations: 4 kB / 0.5845 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1587, allocations: 7.984 kB / 0.5845 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.1587, allocations: 3.938 kB / 0.5845 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.1587, allocations: 4.031 kB / 0.5845 GB, free: 3.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.1588, allocations: 83.27 kB / 0.5846 GB, free: 3.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1588, allocations: 0 / 0.5846 GB, free: 3.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.159, allocations: 28 kB / 0.5846 GB, free: 3.422 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 (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.0006114/0.1596, allocations: 0.728 MB / 0.5853 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.1598, allocations: 44 kB / 0.5854 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1598, allocations: 3.938 kB / 0.5854 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.1599, allocations: 15.97 kB / 0.5854 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1602, allocations: 6.953 kB / 0.5854 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1606, allocations: 152.8 kB / 0.5856 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.161, allocations: 0.6772 MB / 0.5862 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.073e-05/0.161, allocations: 7.938 kB / 0.5862 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.161, allocations: 7.438 kB / 0.5862 GB, free: 1.695 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.161, allocations: 0 / 0.5862 GB, free: 1.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.1717, allocations: 1.533 MB / 0.5877 GB, free: 256 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.172, allocations: 173.1 kB / 0.5879 GB, free: 16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.804, allocations: 0 / 0.5879 GB, free: 16 MB / 0.4981 GB (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)