Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001686/0.001686, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001351/0.001351, allocations: 196.4 kB / 16.14 MB, free: 6.688 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9815/0.9815, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.27 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 80.92 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001754/0.1651, allocations: 0.6194 MB / 0.5844 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004939/0.1656, allocations: 215.3 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.043e-05/0.1656, allocations: 0 / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1656, allocations: 0 / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.1657, allocations: 0 / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.166, allocations: 39.89 kB / 0.5847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.78e-05/0.166, allocations: 0 / 0.5847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.1661, allocations: 0 / 0.5847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.1661, allocations: 4 kB / 0.5847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.1661, allocations: 4 kB / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.1661, allocations: 0 / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1663, allocations: 67.86 kB / 0.5847 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.1663, allocations: 0 / 0.5847 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.1663, allocations: 3.938 kB / 0.5848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1664, allocations: 47.88 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1664, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1664, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1664, allocations: 0 / 0.5848 GB, free: 3.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002718/0.1667, allocations: 315.6 kB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1668, allocations: 16.03 kB / 0.5851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1668, allocations: 38.75 kB / 0.5851 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.902e-05/0.1668, allocations: 0.9375 kB / 0.5852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.1669, allocations: 164.4 kB / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1669, allocations: 384 / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-06/0.1669, allocations: 384 / 0.5853 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.588e-05/0.167, allocations: 30.27 kB / 0.5853 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.167, allocations: 3.938 kB / 0.5853 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.167, allocations: 0 / 0.5853 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.167, allocations: 4 kB / 0.5853 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.1671, allocations: 3.938 kB / 0.5853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.1672, allocations: 153.7 kB / 0.5855 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.1672, allocations: 20.22 kB / 0.5855 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.1673, allocations: 4.859 kB / 0.5855 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006807/0.1679, allocations: 457.6 kB / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.168, allocations: 38.55 kB / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.168, allocations: 0 / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.1681, allocations: 37.58 kB / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1681, allocations: 51.41 kB / 0.5861 GB, free: 2.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.033e-05/0.1682, allocations: 89.86 kB / 0.5862 GB, free: 2.203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1682, allocations: 33.83 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.1682, allocations: 80.14 kB / 0.5863 GB, free: 2.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1682, allocations: 3.906 kB / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.1683, allocations: 13.66 kB / 0.5863 GB, free: 2.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.1684, allocations: 318.8 kB / 0.5866 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.1684, allocations: 7.938 kB / 0.5866 GB, free: 1.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.1684, allocations: 0 / 0.5866 GB, free: 1.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.1684, allocations: 12.92 kB / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1684, allocations: 0 / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.803e-05/0.1685, allocations: 33.64 kB / 0.5866 GB, free: 1.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1685, allocations: 4 kB / 0.5866 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1685, allocations: 3.938 kB / 0.5867 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1685, allocations: 0 / 0.5867 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.1686, allocations: 4 kB / 0.5867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1686, allocations: 0 / 0.5867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.1686, allocations: 0 / 0.5867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1686, allocations: 3.984 kB / 0.5867 GB, free: 1.66 MB / 494.1 MB 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 5.666e-05/0.1687, allocations: 117.9 kB / 0.5868 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.1687, allocations: 0 / 0.5868 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.1687, allocations: 40.7 kB / 0.5868 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1687, allocations: 0 / 0.5868 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1688, allocations: 0 / 0.5868 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1688, allocations: 0 / 0.5868 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.1688, allocations: 145.7 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1688, allocations: 0 / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1689, allocations: 4 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1689, allocations: 4.031 kB / 0.587 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1689, allocations: 7.938 kB / 0.587 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1689, allocations: 0 / 0.587 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1689, allocations: 0 / 0.587 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.867e-05/0.169, allocations: 61.12 kB / 0.587 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.169, allocations: 77.11 kB / 0.5871 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.169, allocations: 3.938 kB / 0.5871 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.169, allocations: 0 / 0.5871 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.169, allocations: 4.031 kB / 0.5871 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.169, allocations: 4 kB / 0.5871 GB, free: 1.098 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.382e-05/0.1691, allocations: 79.22 kB / 0.5872 GB, free: 1.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1691, allocations: 0 / 0.5872 GB, free: 1.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.1693, allocations: 19.98 kB / 0.5872 GB, free: 1 MB / 494.1 MB 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.0004174/0.1697, allocations: 0.6088 MB / 0.5878 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.1697, allocations: 7.938 kB / 0.5878 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1698, allocations: 0 / 0.5878 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.1698, allocations: 7.938 kB / 0.5878 GB, free: 352 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.1699, allocations: 3.938 kB / 0.5878 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1701, allocations: 116.5 kB / 0.5879 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1704, allocations: 0.6731 MB / 0.5886 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.889e-06/0.1704, allocations: 0 / 0.5886 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.1705, allocations: 7.438 kB / 0.5886 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1705, allocations: 0 / 0.5886 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.1807, allocations: 1.016 MB / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.1811, allocations: 195.1 kB / 0.5898 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.168, allocations: 0 / 0.5898 GB, free: 14.31 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)