Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY1",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.006463/0.006463, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00154/0.00154, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.829/0.829, allocations: 132.2 MB / 422.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 66.31 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1772, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.002761/0.18, allocations: 1.432 MB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000719/0.1807, allocations: 359.5 kB / 0.6609 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.1808, allocations: 0 / 0.6609 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.1808, allocations: 3.938 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.1809, allocations: 4 kB / 0.6609 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1814, allocations: 111.6 kB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1815, allocations: 23.92 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.1815, allocations: 7.984 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.1816, allocations: 11.98 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1816, allocations: 11.94 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1817, allocations: 0 / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.1819, allocations: 127.7 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1819, allocations: 15.98 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1819, allocations: 7.938 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1821, allocations: 83.81 kB / 0.6613 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1822, allocations: 4 kB / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1822, allocations: 0 / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1822, allocations: 3.984 kB / 0.6613 GB, free: 8.543 MB / 0.4981 GB 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.0004684/0.1827, allocations: 350.3 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1827, allocations: 12.03 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1827, allocations: 34.69 kB / 0.6617 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.1828, allocations: 4.938 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1829, allocations: 164.4 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1829, allocations: 384 / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1829, allocations: 384 / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1831, allocations: 54.22 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1831, allocations: 3.938 kB / 0.6619 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1831, allocations: 0 / 0.6619 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1832, allocations: 0 / 0.6619 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1833, allocations: 39.95 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1837, allocations: 252.9 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1838, allocations: 42.53 kB / 0.6622 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.1839, allocations: 16.91 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/0.1848, allocations: 473.5 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1848, allocations: 34.5 kB / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1849, allocations: 0 / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.1853, allocations: 93.48 kB / 0.6628 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1853, allocations: 51.41 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.1854, allocations: 97.84 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1854, allocations: 33.7 kB / 0.663 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.1855, allocations: 80.14 kB / 0.6631 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1855, allocations: 4.875 kB / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1856, allocations: 17.72 kB / 0.6631 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1858, allocations: 318.8 kB / 0.6634 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.1858, allocations: 11.98 kB / 0.6634 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.1859, allocations: 19.98 kB / 0.6634 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1861, allocations: 40.88 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.1861, allocations: 3.938 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.1863, allocations: 69.55 kB / 0.6636 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1863, allocations: 4 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1863, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1863, allocations: 4 kB / 0.6636 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.1864, allocations: 7.984 kB / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1864, allocations: 0 / 0.6636 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1865, allocations: 15.95 kB / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1865, allocations: 0 / 0.6636 GB, free: 5.91 MB / 0.4981 GB 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.14e-05/0.1866, allocations: 118.7 kB / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1866, allocations: 0 / 0.6637 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.1868, allocations: 68.72 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1869, allocations: 4 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1869, allocations: 4.031 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1869, allocations: 3.984 kB / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.187, allocations: 161.6 kB / 0.6639 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.187, allocations: 0 / 0.6639 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.1871, allocations: 7.984 kB / 0.6639 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1871, allocations: 4 kB / 0.6639 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1871, allocations: 4 kB / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1871, allocations: 0 / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1871, allocations: 0 / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1874, allocations: 171.4 kB / 0.6641 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.1874, allocations: 81.05 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1875, allocations: 0 / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.1875, allocations: 7.984 kB / 0.6642 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1876, allocations: 11.94 kB / 0.6642 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1876, allocations: 0 / 0.6642 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.1876, allocations: 83.5 kB / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000269/0.1879, allocations: 31.98 kB / 0.6643 GB, free: 5.059 MB / 0.4981 GB 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.0006823/0.1886, allocations: 0.7204 MB / 0.665 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1888, allocations: 39.91 kB / 0.6651 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1888, allocations: 4.062 kB / 0.6651 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1889, allocations: 23.97 kB / 0.6651 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1892, allocations: 0 / 0.6651 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.1896, allocations: 151.1 kB / 0.6652 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1899, allocations: 0.6806 MB / 0.6659 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.19, allocations: 7.938 kB / 0.6659 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.19, allocations: 7.5 kB / 0.6659 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.19, allocations: 4 kB / 0.6659 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.2093, allocations: 1.756 MB / 0.6676 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.635, allocations: 4.062 kB / 0.6676 GB, free: 1.641 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)