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.001446/0.001446, allocations: 108 kB / 15.61 MB, free: 152 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.001407/0.001407, allocations: 195.8 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.17 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3996, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002098/0.4018, allocations: 0.5742 MB / 0.5808 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004848/0.4023, allocations: 176.3 kB / 0.5809 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.4023, allocations: 3.938 kB / 0.5809 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.4023, allocations: 0.5938 kB / 0.5809 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.4023, allocations: 4 kB / 0.5809 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.4027, allocations: 52 kB / 0.581 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.4028, allocations: 5.312 kB / 0.581 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.4028, allocations: 1.953 kB / 0.581 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.42e-05/0.4028, allocations: 4 kB / 0.581 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.4029, allocations: 1.375 kB / 0.581 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-06/0.4029, allocations: 0 / 0.581 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.403, allocations: 60.03 kB / 0.5811 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.547e-06/0.4031, allocations: 0 / 0.5811 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.4031, allocations: 1 kB / 0.5811 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.4032, allocations: 43.09 kB / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4032, allocations: 1 kB / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4032, allocations: 0 / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.4032, allocations: 0.5625 kB / 0.5811 GB, free: 4.027 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.0002295/0.4035, allocations: 316.3 kB / 0.5814 GB, free: 3.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4035, allocations: 9.156 kB / 0.5814 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.4035, allocations: 35.39 kB / 0.5815 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.4036, allocations: 6.094 kB / 0.5815 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.905e-05/0.4036, allocations: 165.9 kB / 0.5816 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4036, allocations: 1.312 kB / 0.5816 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.4037, allocations: 4.375 kB / 0.5816 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.483e-05/0.4037, allocations: 29.14 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4037, allocations: 3.938 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.4038, allocations: 1.281 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4038, allocations: 0 / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.4038, allocations: 1.766 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.626e-05/0.4039, allocations: 143.9 kB / 0.5818 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.411e-05/0.4039, allocations: 29.11 kB / 0.5818 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.4039, allocations: 6.047 kB / 0.5818 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/0.4045, allocations: 450.2 kB / 0.5823 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4046, allocations: 32.45 kB / 0.5823 GB, free: 2.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.4046, allocations: 4 kB / 0.5823 GB, free: 2.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.4047, allocations: 40.33 kB / 0.5823 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.4047, allocations: 55.34 kB / 0.5824 GB, free: 2.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.972e-05/0.4048, allocations: 90.66 kB / 0.5825 GB, free: 2.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.4048, allocations: 26.73 kB / 0.5825 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.4048, allocations: 80.14 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.4048, allocations: 5 kB / 0.5826 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4049, allocations: 15.48 kB / 0.5826 GB, free: 2.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.4049, allocations: 316.8 kB / 0.5829 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.4049, allocations: 9 kB / 0.5829 GB, free: 1.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.4049, allocations: 1.547 kB / 0.5829 GB, free: 1.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.405, allocations: 7.609 kB / 0.5829 GB, free: 1.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.405, allocations: 0 / 0.5829 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.341e-05/0.405, allocations: 36.44 kB / 0.5829 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.405, allocations: 9.781 kB / 0.583 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.405, allocations: 3.938 kB / 0.583 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4051, allocations: 5.719 kB / 0.583 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.911e-05/0.4051, allocations: 1.344 kB / 0.583 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4051, allocations: 5.719 kB / 0.583 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-06/0.4051, allocations: 0 / 0.583 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4051, allocations: 1.188 kB / 0.583 GB, free: 1.926 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.701e-05/0.4052, allocations: 109.1 kB / 0.5831 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.4052, allocations: 7.938 kB / 0.5831 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.4053, allocations: 39.98 kB / 0.5831 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4053, allocations: 1.156 kB / 0.5831 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4053, allocations: 4 kB / 0.5831 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4053, allocations: 0.75 kB / 0.5831 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.4054, allocations: 144.4 kB / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4054, allocations: 0 / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.4054, allocations: 3.219 kB / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4054, allocations: 3.938 kB / 0.5833 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.4054, allocations: 5.25 kB / 0.5833 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4054, allocations: 0.8438 kB / 0.5833 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4054, allocations: 0 / 0.5833 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.4055, allocations: 61.48 kB / 0.5833 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.4055, allocations: 77.62 kB / 0.5834 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4055, allocations: 5.5 kB / 0.5834 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.4055, allocations: 1.125 kB / 0.5834 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.4056, allocations: 4.688 kB / 0.5834 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4056, allocations: 0.8125 kB / 0.5834 GB, free: 1.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.44e-05/0.4056, allocations: 75.28 kB / 0.5835 GB, free: 1.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4056, allocations: 1.094 kB / 0.5835 GB, free: 1.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.4058, allocations: 15.22 kB / 0.5835 GB, free: 1.316 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.0003426/0.4062, allocations: 0.6198 MB / 0.5841 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.4062, allocations: 7.719 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4062, allocations: 0 / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.4063, allocations: 3.344 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.4064, allocations: 0.7812 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.4066, allocations: 119.2 kB / 0.5842 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4068, allocations: 0.6714 MB / 0.5849 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.209e-05/0.4068, allocations: 5.641 kB / 0.5849 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.4068, allocations: 16.72 kB / 0.5849 GB, free: 15.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4068, allocations: 0 / 0.5849 GB, free: 15.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/0.6394, allocations: 1.094 MB / 0.586 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.786, allocations: 6.312 kB / 0.586 GB, free: 15.52 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)