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.000798/0.0007978, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004793/0.004793, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 15.94 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3793, allocations: 81.58 MB / 0.5838 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005849/0.3799, allocations: 315.3 kB / 0.5841 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.3803, allocations: 184.5 kB / 0.5842 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-06/0.3803, allocations: 1.719 kB / 0.5842 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.3803, allocations: 1.469 kB / 0.5842 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.219e-06/0.3804, allocations: 0 / 0.5842 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3806, allocations: 46.55 kB / 0.5843 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.783e-05/0.3807, allocations: 5.969 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.3807, allocations: 2.156 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.3807, allocations: 0.875 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.735e-05/0.3808, allocations: 0.8125 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.3808, allocations: 0.8438 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3809, allocations: 60.17 kB / 0.5843 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.381, allocations: 5.188 kB / 0.5844 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.381, allocations: 31.41 kB / 0.5844 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3811, allocations: 27.83 kB / 0.5844 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3811, allocations: 1.719 kB / 0.5844 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3811, allocations: 5.906 kB / 0.5844 GB, free: 3.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.3811, allocations: 0 / 0.5844 GB, free: 3.469 MB / 430.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.0001847/0.3813, allocations: 317.6 kB / 0.5847 GB, free: 3.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3814, allocations: 13.7 kB / 0.5847 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.107e-05/0.3814, allocations: 34.75 kB / 0.5848 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.3814, allocations: 2.766 kB / 0.5848 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.79e-05/0.3815, allocations: 164.9 kB / 0.5849 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3815, allocations: 1.75 kB / 0.5849 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.3815, allocations: 5.109 kB / 0.5849 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.3816, allocations: 28.67 kB / 0.585 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3816, allocations: 5.25 kB / 0.585 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.3816, allocations: 0 / 0.585 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3816, allocations: 0 / 0.585 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.3816, allocations: 6.344 kB / 0.585 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.316e-05/0.3817, allocations: 143.7 kB / 0.5851 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.7e-05/0.3817, allocations: 27.84 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.3818, allocations: 6.141 kB / 0.5851 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.3823, allocations: 458.9 kB / 0.5856 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3823, allocations: 36.38 kB / 0.5856 GB, free: 2.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3824, allocations: 0 / 0.5856 GB, free: 2.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.653e-05/0.3825, allocations: 36.14 kB / 0.5856 GB, free: 2.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.527e-05/0.3825, allocations: 51.41 kB / 0.5857 GB, free: 1.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.306e-05/0.3825, allocations: 90.61 kB / 0.5858 GB, free: 1.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.3825, allocations: 26.67 kB / 0.5858 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-06/0.3825, allocations: 88.2 kB / 0.5859 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3826, allocations: 4.812 kB / 0.5859 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.3826, allocations: 10.47 kB / 0.5859 GB, free: 1.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.3826, allocations: 312.8 kB / 0.5862 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.3826, allocations: 4 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.3826, allocations: 1.594 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.3827, allocations: 7.797 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3827, allocations: 0.9062 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.096e-05/0.3827, allocations: 35.83 kB / 0.5863 GB, free: 1.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3827, allocations: 6.062 kB / 0.5863 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3828, allocations: 3.938 kB / 0.5863 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3828, allocations: 1.438 kB / 0.5863 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.3828, allocations: 5.656 kB / 0.5863 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3828, allocations: 4 kB / 0.5863 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-06/0.3828, allocations: 1.75 kB / 0.5863 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.3828, allocations: 0 / 0.5863 GB, free: 1.371 MB / 430.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 4.041e-05/0.3829, allocations: 114 kB / 0.5864 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.3829, allocations: 4 kB / 0.5864 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.383, allocations: 43.83 kB / 0.5864 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.383, allocations: 0 / 0.5864 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.383, allocations: 5.969 kB / 0.5864 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.383, allocations: 0 / 0.5864 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.553e-05/0.383, allocations: 144.9 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.383, allocations: 0 / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.3831, allocations: 2.031 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3831, allocations: 1.156 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.3831, allocations: 7.969 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3831, allocations: 0.5625 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3831, allocations: 4.5 kB / 0.5866 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.404e-05/0.3831, allocations: 57.59 kB / 0.5866 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.3832, allocations: 78.64 kB / 0.5867 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.3832, allocations: 4.688 kB / 0.5867 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.3832, allocations: 1 kB / 0.5867 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3832, allocations: 5 kB / 0.5867 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3832, allocations: 0.7031 kB / 0.5867 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.077e-05/0.3832, allocations: 76.81 kB / 0.5868 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3832, allocations: 0 / 0.5868 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.3834, allocations: 11.03 kB / 0.5868 GB, free: 0.7617 MB / 430.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.000277/0.3837, allocations: 0.6221 MB / 0.5874 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.074e-05/0.3838, allocations: 8.047 kB / 0.5874 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3838, allocations: 1.562 kB / 0.5874 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.3838, allocations: 1.406 kB / 0.5874 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.3839, allocations: 4.516 kB / 0.5874 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.3841, allocations: 107.1 kB / 0.5875 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3844, allocations: 0.6754 MB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.3844, allocations: 1.062 kB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.3844, allocations: 8.156 kB / 0.5882 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3844, allocations: 3.938 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4076, allocations: 0.9485 MB / 0.5891 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.4079, allocations: 184.4 kB / 0.5893 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.365, allocations: 1.094 kB / 0.5893 GB, free: 14.91 MB / 446.1 MB (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)