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.001051/0.001051, allocations: 107.3 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.001091/0.001091, allocations: 194.6 kB / 16.25 MB, free: 6.145 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.291/1.291, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7493/0.7493, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.56 kB / 0.5013 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 80.2 MB / 0.5797 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002313/0.3834, allocations: 1.504 MB / 0.5811 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.3839, allocations: 252.8 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.3839, allocations: 0.75 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.3839, allocations: 4.734 kB / 0.5814 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.384, allocations: 0.9375 kB / 0.5814 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3843, allocations: 52.59 kB / 0.5814 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.3844, allocations: 18.91 kB / 0.5815 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.3845, allocations: 12.47 kB / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.3845, allocations: 8.594 kB / 0.5815 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.3846, allocations: 10.34 kB / 0.5815 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3846, allocations: 6.312 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.3847, allocations: 65.64 kB / 0.5816 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3848, allocations: 6.641 kB / 0.5816 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3848, allocations: 10.44 kB / 0.5816 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3849, allocations: 55.03 kB / 0.5816 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3849, allocations: 0 / 0.5816 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3849, allocations: 1.156 kB / 0.5816 GB, free: 3.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.385, allocations: 0 / 0.5816 GB, free: 3.258 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.0003885/0.3854, allocations: 354.1 kB / 0.582 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3854, allocations: 9.781 kB / 0.582 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.3854, allocations: 32.2 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.3855, allocations: 1.688 kB / 0.582 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.3855, allocations: 171.7 kB / 0.5822 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3856, allocations: 1.438 kB / 0.5822 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3856, allocations: 1.406 kB / 0.5822 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3858, allocations: 49.12 kB / 0.5822 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3858, allocations: 3.938 kB / 0.5822 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3858, allocations: 5.062 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3858, allocations: 0.5625 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.386, allocations: 32.22 kB / 0.5823 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.3863, allocations: 259.8 kB / 0.5825 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3864, allocations: 40.03 kB / 0.5825 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.3865, allocations: 23.27 kB / 0.5826 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.3871, allocations: 466.3 kB / 0.583 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3872, allocations: 35.94 kB / 0.583 GB, free: 1.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3872, allocations: 3.938 kB / 0.583 GB, free: 1.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003386/0.3875, allocations: 83.59 kB / 0.5831 GB, free: 1.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.3875, allocations: 52.75 kB / 0.5832 GB, free: 1.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.3876, allocations: 97.75 kB / 0.5833 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.3876, allocations: 25.7 kB / 0.5833 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.3876, allocations: 85.61 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3877, allocations: 10.16 kB / 0.5834 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.3877, allocations: 12.42 kB / 0.5834 GB, free: 1.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.3877, allocations: 317.4 kB / 0.5837 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3878, allocations: 13.77 kB / 0.5837 GB, free: 1.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3879, allocations: 18.64 kB / 0.5837 GB, free: 1.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3881, allocations: 40.7 kB / 0.5838 GB, free: 1.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3881, allocations: 4.906 kB / 0.5838 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.3883, allocations: 66.88 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3883, allocations: 4.719 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3883, allocations: 1.219 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3883, allocations: 0.5156 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.3884, allocations: 8.781 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3884, allocations: 9.219 kB / 0.5839 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.3884, allocations: 5.609 kB / 0.5839 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3885, allocations: 1.25 kB / 0.5839 GB, free: 1.012 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.637e-05/0.3885, allocations: 117.5 kB / 0.584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3885, allocations: 5.781 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.3887, allocations: 70.94 kB / 0.5841 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3888, allocations: 4.734 kB / 0.5841 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3888, allocations: 0.75 kB / 0.5841 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3888, allocations: 0.8125 kB / 0.5841 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3889, allocations: 159.7 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3889, allocations: 0 / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.389, allocations: 9.312 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.389, allocations: 0 / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.389, allocations: 1.969 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.389, allocations: 0 / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.389, allocations: 1.312 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3892, allocations: 166.5 kB / 0.5844 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.3892, allocations: 79.09 kB / 0.5845 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3892, allocations: 3.938 kB / 0.5845 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.3893, allocations: 6.094 kB / 0.5845 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3893, allocations: 6.641 kB / 0.5845 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3893, allocations: 9.156 kB / 0.5845 GB, free: 400 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.966e-05/0.3894, allocations: 83.94 kB / 0.5846 GB, free: 320 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3894, allocations: 0 / 0.5846 GB, free: 320 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3896, allocations: 15.34 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.0005417/0.3902, allocations: 0.7145 MB / 0.5853 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3904, allocations: 35.33 kB / 0.5853 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3904, allocations: 3.938 kB / 0.5853 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.3905, allocations: 24.44 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.0002188/0.3907, allocations: 2.078 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.0004053/0.3911, allocations: 140.3 kB / 0.5855 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3914, allocations: 0.6757 MB / 0.5861 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3914, allocations: 1.719 kB / 0.5861 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3914, allocations: 13.33 kB / 0.5861 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3914, allocations: 4.062 kB / 0.5861 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.4035, allocations: 1.344 MB / 0.5875 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.4037, allocations: 175.1 kB / 0.5876 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.1, allocations: 0 / 0.5876 GB, free: 14.26 MB / 446.1 MB (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)