Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001/0.001, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001049/0.001049, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7457/0.7457, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 55.66 kB / 0.5014 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3743, allocations: 80.21 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002414/0.3767, allocations: 1.483 MB / 0.5811 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.3772, allocations: 245.7 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.3772, allocations: 1 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3773, allocations: 0.6562 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.3773, allocations: 1.156 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3776, allocations: 54.28 kB / 0.5814 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.3777, allocations: 23.66 kB / 0.5814 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.3778, allocations: 8.891 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.3778, allocations: 8.156 kB / 0.5815 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.3779, allocations: 13.88 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3779, allocations: 2.031 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.378, allocations: 64.97 kB / 0.5815 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.378, allocations: 5.438 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.3781, allocations: 11.48 kB / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.3782, allocations: 61.73 kB / 0.5816 GB, free: 3.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3782, allocations: 0 / 0.5816 GB, free: 3.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3782, allocations: 4 kB / 0.5816 GB, free: 3.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3782, allocations: 0 / 0.5816 GB, free: 3.246 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003642/0.3786, allocations: 344.2 kB / 0.5819 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3787, allocations: 10.31 kB / 0.5819 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.3787, allocations: 31.41 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.3787, allocations: 2.672 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.3788, allocations: 167.4 kB / 0.5821 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3788, allocations: 1.656 kB / 0.5821 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3788, allocations: 5.438 kB / 0.5821 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.379, allocations: 53.47 kB / 0.5822 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.379, allocations: 3.938 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.379, allocations: 0.8125 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.379, allocations: 0 / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3792, allocations: 36.38 kB / 0.5822 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.3795, allocations: 258.9 kB / 0.5825 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3796, allocations: 37.16 kB / 0.5825 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.3797, allocations: 23.5 kB / 0.5825 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.3803, allocations: 458.5 kB / 0.583 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.3803, allocations: 35.81 kB / 0.583 GB, free: 1.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.3803, allocations: 0 / 0.583 GB, free: 1.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.3807, allocations: 83.55 kB / 0.5831 GB, free: 1.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.3807, allocations: 57.86 kB / 0.5831 GB, free: 1.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.3808, allocations: 100 kB / 0.5832 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.3808, allocations: 25.7 kB / 0.5833 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.3808, allocations: 86.11 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3808, allocations: 5.266 kB / 0.5834 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.3809, allocations: 12.94 kB / 0.5834 GB, free: 1.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.3809, allocations: 317.2 kB / 0.5837 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.381, allocations: 13.81 kB / 0.5837 GB, free: 1.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.3811, allocations: 19.09 kB / 0.5837 GB, free: 1.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3812, allocations: 45.19 kB / 0.5837 GB, free: 1.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3812, allocations: 3.938 kB / 0.5837 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.3814, allocations: 62.95 kB / 0.5838 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3814, allocations: 9.062 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3815, allocations: 0.7031 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3815, allocations: 4.688 kB / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.3816, allocations: 9.25 kB / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3816, allocations: 0 / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.3816, allocations: 6.797 kB / 0.5838 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3816, allocations: 0.5625 kB / 0.5838 GB, free: 1.016 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 (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 4.759e-05/0.3817, allocations: 113.9 kB / 0.5839 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3817, allocations: 5.344 kB / 0.584 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3819, allocations: 79.23 kB / 0.584 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3819, allocations: 1.312 kB / 0.584 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.382, allocations: 0.8906 kB / 0.584 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.382, allocations: 0 / 0.584 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3821, allocations: 159.8 kB / 0.5842 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3821, allocations: 0 / 0.5842 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.3822, allocations: 9.266 kB / 0.5842 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3822, allocations: 4.031 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.3822, allocations: 1.5 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3822, allocations: 0.7812 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3822, allocations: 0 / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3824, allocations: 171.8 kB / 0.5844 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.3824, allocations: 81.7 kB / 0.5844 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3824, allocations: 6 kB / 0.5844 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.3825, allocations: 6.094 kB / 0.5845 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3826, allocations: 2.062 kB / 0.5845 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3826, allocations: 0.8438 kB / 0.5845 GB, free: 404 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.096e-05/0.3826, allocations: 83.41 kB / 0.5845 GB, free: 324 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3826, allocations: 1.312 kB / 0.5845 GB, free: 324 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.3829, allocations: 18.14 kB / 0.5846 GB, free: 320 kB / 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 (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.0005083/0.3834, allocations: 0.7138 MB / 0.5852 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3836, allocations: 42.91 kB / 0.5853 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3836, allocations: 1.312 kB / 0.5853 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.3837, allocations: 20.66 kB / 0.5853 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3839, allocations: 2.656 kB / 0.5853 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.3843, allocations: 139.4 kB / 0.5854 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3845, allocations: 0.6803 MB / 0.5861 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.3846, allocations: 1.375 kB / 0.5861 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3846, allocations: 13.52 kB / 0.5861 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3846, allocations: 0 / 0.5861 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.3955, allocations: 1.34 MB / 0.5874 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.3957, allocations: 176.4 kB / 0.5876 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.072, allocations: 1.312 kB / 0.5876 GB, free: 14.26 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)