Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_dev_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.007406/0.007406, allocations: 100.8 kB / 15.73 MB, free: 5.586 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.001175/0.001176, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 63.72 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1738, allocations: 80.92 MB / 0.6642 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.003421/0.1773, allocations: 1.415 MB / 0.6655 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.1782, allocations: 363.6 kB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.1783, allocations: 3.938 kB / 0.6659 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.1783, allocations: 0 / 0.6659 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.1784, allocations: 3.938 kB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.1791, allocations: 109.8 kB / 0.666 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.1792, allocations: 31.91 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.1793, allocations: 4 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.1793, allocations: 11.98 kB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.1794, allocations: 7.938 kB / 0.6661 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1794, allocations: 4 kB / 0.6661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1797, allocations: 123.8 kB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1797, allocations: 7.984 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.1797, allocations: 11.94 kB / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.18, allocations: 87.75 kB / 0.6663 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.18, allocations: 4 kB / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.123e-06/0.18, allocations: 0 / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.18, allocations: 0 / 0.6663 GB, free: 4.129 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.000533/0.1806, allocations: 354.4 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1806, allocations: 9.109 kB / 0.6666 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.1807, allocations: 34.75 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1807, allocations: 4.844 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1808, allocations: 168.4 kB / 0.6668 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1808, allocations: 4.375 kB / 0.6668 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1809, allocations: 4.375 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.181, allocations: 54.17 kB / 0.6669 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1811, allocations: 3.938 kB / 0.6669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1811, allocations: 0 / 0.6669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1811, allocations: 0 / 0.6669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1813, allocations: 35.95 kB / 0.6669 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1816, allocations: 248.9 kB / 0.6672 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1818, allocations: 42.47 kB / 0.6672 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.1819, allocations: 20.91 kB / 0.6672 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007979/0.1827, allocations: 473.5 kB / 0.6677 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1827, allocations: 30.56 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1827, allocations: 0 / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003716/0.1831, allocations: 85.64 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1831, allocations: 55.34 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.1832, allocations: 97.84 kB / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1832, allocations: 25.7 kB / 0.668 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.1833, allocations: 95.98 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1833, allocations: 0.8438 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1834, allocations: 9.719 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1835, allocations: 327 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.1836, allocations: 15.92 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.1837, allocations: 15.98 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1839, allocations: 40.81 kB / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1839, allocations: 3.938 kB / 0.6684 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00021/0.1841, allocations: 69.64 kB / 0.6685 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1841, allocations: 5.875 kB / 0.6685 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1841, allocations: 0 / 0.6685 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1842, allocations: 0 / 0.6685 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.1842, allocations: 15.92 kB / 0.6685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1843, allocations: 0 / 0.6685 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.1843, allocations: 11.92 kB / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1843, allocations: 0 / 0.6685 GB, free: 1.492 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.821e-05/0.1844, allocations: 117.8 kB / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1844, allocations: 4 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.1847, allocations: 68.78 kB / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1847, allocations: 0 / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.1847, allocations: 0 / 0.6687 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1847, allocations: 4 kB / 0.6687 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1849, allocations: 161.6 kB / 0.6689 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1849, allocations: 4.031 kB / 0.6689 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.185, allocations: 7.984 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.185, allocations: 0 / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.185, allocations: 0 / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.185, allocations: 7.938 kB / 0.6689 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.185, allocations: 0 / 0.6689 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1853, allocations: 171.6 kB / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.1853, allocations: 85 kB / 0.6691 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1853, allocations: 0 / 0.6691 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.1854, allocations: 7.984 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1854, allocations: 3.938 kB / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1855, allocations: 0 / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.1855, allocations: 83.28 kB / 0.6692 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1855, allocations: 0 / 0.6692 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002644/0.1858, allocations: 31.98 kB / 0.6693 GB, free: 0.6445 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.0006423/0.1864, allocations: 0.7371 MB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1867, allocations: 35.97 kB / 0.67 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1867, allocations: 0 / 0.67 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.1868, allocations: 23.97 kB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.187, allocations: 12 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.1875, allocations: 151.1 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1877, allocations: 0.6768 MB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1877, allocations: 4 kB / 0.6709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1878, allocations: 11.44 kB / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1878, allocations: 0 / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2066, allocations: 1.765 MB / 0.6726 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.541, allocations: 7.938 kB / 0.6726 GB, free: 13.2 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)