Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",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.00549/0.00549, allocations: 103.2 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.001216/0.001216, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8449/0.8449, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.41 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002898/0.1634, allocations: 1.421 MB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.164, allocations: 271.9 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.164, allocations: 0 / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.1641, allocations: 3.938 kB / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.1642, allocations: 3.938 kB / 0.6608 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1647, allocations: 55.83 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.1648, allocations: 19.98 kB / 0.6609 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1649, allocations: 19.91 kB / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.165, allocations: 8 kB / 0.6609 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.165, allocations: 11.92 kB / 0.661 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1651, allocations: 4 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.1653, allocations: 55.89 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.1653, allocations: 7.984 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1653, allocations: 11.94 kB / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1655, allocations: 47.92 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1655, allocations: 0 / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1655, allocations: 0 / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1655, allocations: 0 / 0.6611 GB, free: 8.793 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.0005974/0.1661, allocations: 350.3 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.1662, allocations: 11.97 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1663, allocations: 34.69 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1663, allocations: 4.938 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1665, allocations: 164.4 kB / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1665, allocations: 384 / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1665, allocations: 4.375 kB / 0.6616 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1667, allocations: 54.23 kB / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1667, allocations: 3.938 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1667, allocations: 3.984 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1668, allocations: 0 / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1669, allocations: 35.95 kB / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1673, allocations: 240.9 kB / 0.6619 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1675, allocations: 46.5 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1676, allocations: 24.89 kB / 0.662 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008284/0.1684, allocations: 457.4 kB / 0.6624 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.1685, allocations: 38.56 kB / 0.6625 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.1685, allocations: 0 / 0.6625 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000365/0.1689, allocations: 85.48 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1689, allocations: 55.41 kB / 0.6626 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.169, allocations: 97.86 kB / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1691, allocations: 29.83 kB / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.1691, allocations: 80.14 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.1692, allocations: 12.67 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1692, allocations: 17.72 kB / 0.6628 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1693, allocations: 310.8 kB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.1694, allocations: 19.98 kB / 0.6632 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1695, allocations: 11.98 kB / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1696, allocations: 44.88 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1697, allocations: 3.938 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1699, allocations: 65.59 kB / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1699, allocations: 8 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1699, allocations: 0 / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1699, allocations: 0 / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.17, allocations: 8.031 kB / 0.6633 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.17, allocations: 7.984 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1701, allocations: 11.94 kB / 0.6633 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1701, allocations: 7.938 kB / 0.6633 GB, free: 6.164 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 0.000103/0.1702, allocations: 110.7 kB / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1702, allocations: 0 / 0.6634 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1705, allocations: 84.7 kB / 0.6635 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1705, allocations: 0 / 0.6635 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1705, allocations: 0 / 0.6635 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1705, allocations: 0 / 0.6635 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1707, allocations: 157.6 kB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1707, allocations: 0 / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1708, allocations: 11.98 kB / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1708, allocations: 0 / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1708, allocations: 0 / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1708, allocations: 0 / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1708, allocations: 4.031 kB / 0.6637 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1711, allocations: 163.4 kB / 0.6638 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1711, allocations: 81.11 kB / 0.6639 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1711, allocations: 4 kB / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1712, allocations: 11.92 kB / 0.6639 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1713, allocations: 4.031 kB / 0.6639 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1713, allocations: 0 / 0.6639 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.1713, allocations: 83.27 kB / 0.664 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1713, allocations: 0 / 0.664 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1716, allocations: 16 kB / 0.664 GB, free: 5.344 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.0006422/0.1722, allocations: 0.7124 MB / 0.6647 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1725, allocations: 43.91 kB / 0.6648 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1725, allocations: 4.094 kB / 0.6648 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1726, allocations: 15.92 kB / 0.6648 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1728, allocations: 9.719 kB / 0.6648 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.1733, allocations: 139.1 kB / 0.6649 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1736, allocations: 0.6768 MB / 0.6656 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.1737, allocations: 7.906 kB / 0.6656 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1737, allocations: 7.438 kB / 0.6656 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1737, allocations: 4.062 kB / 0.6656 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1929, allocations: 1.498 MB / 0.6671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.407, allocations: 6.375 kB / 0.6671 GB, free: 2.207 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)