Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.005766/0.005766, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001145/0.001145, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.61 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001449/0.1704, allocations: 0.5787 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004885/0.1709, allocations: 191.7 kB / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.1709, allocations: 0 / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1709, allocations: 0 / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.055e-05/0.1709, allocations: 0 / 0.66 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1714, allocations: 55.81 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.857e-05/0.1714, allocations: 4 kB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.1715, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.1715, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.1715, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1715, allocations: 0 / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1717, allocations: 63.88 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.1717, allocations: 7.984 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.1717, allocations: 0 / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1718, allocations: 31.89 kB / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1718, allocations: 0 / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1719, allocations: 3.938 kB / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1719, allocations: 0 / 0.6601 GB, free: 13.03 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002965/0.1722, allocations: 319.6 kB / 0.6604 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1722, allocations: 8.031 kB / 0.6605 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.1722, allocations: 38.67 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.012e-05/0.1723, allocations: 0.9375 kB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.1724, allocations: 166.7 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1724, allocations: 384 / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.1724, allocations: 4.375 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.1725, allocations: 26.27 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1725, allocations: 3.938 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1725, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1725, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.1725, allocations: 4 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.1727, allocations: 153.7 kB / 0.6608 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.397e-05/0.1727, allocations: 22.52 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.1727, allocations: 8.953 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.1734, allocations: 449.5 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1734, allocations: 42.55 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1734, allocations: 0 / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.1735, allocations: 37.58 kB / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1736, allocations: 51.41 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.953e-05/0.1736, allocations: 89.86 kB / 0.6615 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1736, allocations: 25.7 kB / 0.6615 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.1737, allocations: 84.12 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1737, allocations: 0 / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1737, allocations: 21.84 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1738, allocations: 314.8 kB / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/0.1738, allocations: 0 / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1738, allocations: 0 / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.1739, allocations: 12.8 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1739, allocations: 0 / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.62e-05/0.1739, allocations: 33.64 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1739, allocations: 8 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.174, allocations: 8.031 kB / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.174, allocations: 0 / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.468e-05/0.174, allocations: 0 / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.174, allocations: 4 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.174, allocations: 7.984 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.174, allocations: 0 / 0.662 GB, free: 10.8 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 (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 7.762e-05/0.1741, allocations: 106.5 kB / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.1741, allocations: 0 / 0.6621 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1742, allocations: 44.7 kB / 0.6621 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1742, allocations: 0 / 0.6621 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1742, allocations: 4 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1742, allocations: 0 / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.479e-05/0.1743, allocations: 153.6 kB / 0.6623 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1743, allocations: 0 / 0.6623 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.1743, allocations: 3.938 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1744, allocations: 4 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1744, allocations: 3.938 kB / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1744, allocations: 0 / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1744, allocations: 0 / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.569e-05/0.1744, allocations: 57.16 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1745, allocations: 85.09 kB / 0.6624 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.1745, allocations: 3.938 kB / 0.6624 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.1745, allocations: 8 kB / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.1745, allocations: 0 / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.1745, allocations: 0 / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.26e-05/0.1746, allocations: 75.28 kB / 0.6625 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1746, allocations: 4.031 kB / 0.6625 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001898/0.1748, allocations: 19.98 kB / 0.6626 GB, free: 10.13 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 (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.0003893/0.1752, allocations: 0.6191 MB / 0.6632 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.1752, allocations: 4 kB / 0.6632 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1752, allocations: 0 / 0.6632 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-06/0.1752, allocations: 3.938 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1754, allocations: 5.719 kB / 0.6632 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.1756, allocations: 122.5 kB / 0.6633 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1759, allocations: 0.669 MB / 0.6639 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.608e-06/0.1759, allocations: 4.125 kB / 0.6639 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.1759, allocations: 7.438 kB / 0.6639 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1759, allocations: 0 / 0.6639 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.1918, allocations: 1.128 MB / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.548, allocations: 10.53 kB / 0.6651 GB, free: 7.566 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)