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.001671/0.001671, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7168/0.7168, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 64.08 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3171, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00206/0.3192, allocations: 1.425 MB / 0.5816 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.3196, allocations: 260.2 kB / 0.5818 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.3196, allocations: 1.031 kB / 0.5818 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.3197, allocations: 4.594 kB / 0.5818 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.3197, allocations: 4.688 kB / 0.5818 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.32, allocations: 55.66 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.3201, allocations: 28.05 kB / 0.5819 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.3202, allocations: 4.953 kB / 0.5819 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.3202, allocations: 12.28 kB / 0.5819 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.154e-05/0.3202, allocations: 9.203 kB / 0.5819 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3202, allocations: 2.031 kB / 0.5819 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3204, allocations: 64.17 kB / 0.582 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.3204, allocations: 4.797 kB / 0.582 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.3204, allocations: 16.25 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3205, allocations: 48.61 kB / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3205, allocations: 1.156 kB / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3205, allocations: 0 / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3206, allocations: 3.938 kB / 0.5821 GB, free: 3.289 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.0003098/0.3209, allocations: 346.2 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3209, allocations: 10.52 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.3209, allocations: 35.45 kB / 0.5825 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.05e-05/0.321, allocations: 6.656 kB / 0.5825 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.926e-05/0.321, allocations: 166.7 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.321, allocations: 5.812 kB / 0.5826 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.3211, allocations: 5.219 kB / 0.5826 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3212, allocations: 49.69 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3212, allocations: 3.938 kB / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3212, allocations: 0.7969 kB / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3212, allocations: 0.9375 kB / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3214, allocations: 36 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.3216, allocations: 252 kB / 0.583 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3217, allocations: 43.88 kB / 0.583 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.3218, allocations: 23.59 kB / 0.583 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.3223, allocations: 457.6 kB / 0.5835 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.3223, allocations: 36.09 kB / 0.5835 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3223, allocations: 0.75 kB / 0.5835 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003121/0.3227, allocations: 83.59 kB / 0.5836 GB, free: 1.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.3227, allocations: 57.03 kB / 0.5836 GB, free: 1.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.3227, allocations: 100.1 kB / 0.5837 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.3227, allocations: 26.52 kB / 0.5837 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.3228, allocations: 81.61 kB / 0.5838 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.3228, allocations: 5.547 kB / 0.5838 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.3228, allocations: 17.14 kB / 0.5838 GB, free: 1.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.3229, allocations: 316.2 kB / 0.5841 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.3229, allocations: 19.25 kB / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.323, allocations: 13.95 kB / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3232, allocations: 36.89 kB / 0.5842 GB, free: 1.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3232, allocations: 8 kB / 0.5842 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001717/0.3233, allocations: 64.09 kB / 0.5843 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3234, allocations: 9.656 kB / 0.5843 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3234, allocations: 0 / 0.5843 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.3234, allocations: 0.8438 kB / 0.5843 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.3234, allocations: 8.391 kB / 0.5843 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3235, allocations: 0.9688 kB / 0.5843 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.3235, allocations: 9.297 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3235, allocations: 5.531 kB / 0.5843 GB, free: 1.051 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 3.553e-05/0.3236, allocations: 114.3 kB / 0.5844 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.3236, allocations: 5 kB / 0.5844 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.3238, allocations: 71.19 kB / 0.5845 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3238, allocations: 8.641 kB / 0.5845 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3238, allocations: 1.094 kB / 0.5845 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3238, allocations: 0.7344 kB / 0.5845 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.3239, allocations: 163.5 kB / 0.5847 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3239, allocations: 0.7812 kB / 0.5847 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.324, allocations: 12.66 kB / 0.5847 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.324, allocations: 0 / 0.5847 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.324, allocations: 1.344 kB / 0.5847 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.324, allocations: 0.75 kB / 0.5847 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.324, allocations: 4 kB / 0.5847 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3242, allocations: 167.5 kB / 0.5848 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3242, allocations: 82.22 kB / 0.5849 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3242, allocations: 1.438 kB / 0.5849 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.3243, allocations: 5.875 kB / 0.5849 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.3243, allocations: 2.516 kB / 0.5849 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3243, allocations: 0.7812 kB / 0.5849 GB, free: 440 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.788e-05/0.3244, allocations: 80.23 kB / 0.585 GB, free: 364 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 4.031 kB / 0.585 GB, free: 360 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.3246, allocations: 18.67 kB / 0.585 GB, free: 356 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.0004488/0.325, allocations: 0.7179 MB / 0.5857 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3252, allocations: 35.89 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3252, allocations: 0 / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.3253, allocations: 20.8 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3255, allocations: 6.984 kB / 0.5858 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3259, allocations: 142.5 kB / 0.5859 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.3261, allocations: 0.6759 MB / 0.5866 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.836e-05/0.3261, allocations: 1.5 kB / 0.5866 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.3261, allocations: 8.875 kB / 0.5866 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3261, allocations: 0 / 0.5866 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9825/1.309, allocations: 1.472 MB / 0.588 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.54, allocations: 11.09 kB / 0.588 GB, free: 14.43 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)