Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_dev_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.001048/0.001048, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9802/0.9802, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12.22 kB / 0.5071 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 82.33 MB / 0.5875 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.001737/0.1588, allocations: 1.132 MB / 0.5886 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006705/0.1594, allocations: 313.8 kB / 0.5889 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.1595, allocations: 4 kB / 0.5889 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1595, allocations: 3.938 kB / 0.5889 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.1595, allocations: 3.938 kB / 0.5889 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1599, allocations: 87.78 kB / 0.589 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.16, allocations: 12 kB / 0.589 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.16, allocations: 3.984 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.1601, allocations: 15.94 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.1601, allocations: 7.984 kB / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1601, allocations: 0 / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1603, allocations: 123.8 kB / 0.5891 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.1604, allocations: 11.94 kB / 0.5891 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1604, allocations: 25.7 kB / 0.5892 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1605, allocations: 51.91 kB / 0.5892 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1605, allocations: 0 / 0.5892 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1606, allocations: 0 / 0.5892 GB, free: 1.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1606, allocations: 0 / 0.5892 GB, free: 1.227 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.0005021/0.1611, allocations: 367.5 kB / 0.5896 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1611, allocations: 8.031 kB / 0.5896 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1612, allocations: 30.56 kB / 0.5896 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.1612, allocations: 0 / 0.5896 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1614, allocations: 167 kB / 0.5898 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1614, allocations: 0 / 0.5898 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1614, allocations: 4 kB / 0.5898 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1616, allocations: 57.61 kB / 0.5898 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1616, allocations: 3.984 kB / 0.5898 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1616, allocations: 8 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1616, allocations: 0 / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.1618, allocations: 47.95 kB / 0.5899 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.1621, allocations: 244.9 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1622, allocations: 42.55 kB / 0.5902 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.1623, allocations: 28.91 kB / 0.5902 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.163, allocations: 457.4 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.163, allocations: 46.48 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.163, allocations: 3.938 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003434/0.1634, allocations: 97.66 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1634, allocations: 51.41 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.1635, allocations: 105.8 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.1635, allocations: 25.7 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1636, allocations: 84.14 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1636, allocations: 3.906 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.1636, allocations: 0 / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1637, allocations: 318.8 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1638, allocations: 27.95 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1639, allocations: 19.98 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/0.1639, allocations: 24.05 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.164, allocations: 0 / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002101/0.1642, allocations: 73.66 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1642, allocations: 4 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1642, allocations: 0 / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1642, allocations: 8.031 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.1643, allocations: 11.98 kB / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1643, allocations: 0 / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.1644, allocations: 7.984 kB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1644, allocations: 11.95 kB / 0.5915 GB, free: 14.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/0.1644, allocations: 105.8 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1645, allocations: 4 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1647, allocations: 88.72 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1647, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1647, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1647, allocations: 0 / 0.5917 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1649, allocations: 177.6 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1649, allocations: 0 / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.165, allocations: 8 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.165, allocations: 0 / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.165, allocations: 3.984 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.165, allocations: 0 / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.165, allocations: 0 / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1652, allocations: 183.3 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.1653, allocations: 85.05 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1653, allocations: 0 / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.1654, allocations: 4 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1654, allocations: 12.02 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1654, allocations: 0 / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.1655, allocations: 79.28 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000269/0.1657, allocations: 31.94 kB / 0.5923 GB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007024/0.1664, allocations: 0.7478 MB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.1666, allocations: 47.97 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1667, allocations: 0 / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.1667, allocations: 24.05 kB / 0.5931 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.167, allocations: 7.984 kB / 0.5931 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.1674, allocations: 150.3 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1678, allocations: 0.6731 MB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.1678, allocations: 4.047 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1678, allocations: 15.44 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1678, allocations: 0 / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.179, allocations: 1.484 MB / 0.5953 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.1792, allocations: 175.3 kB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.886, allocations: 4 kB / 0.5955 GB, free: 10.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: