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.001387/0.001387, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001536/0.001535, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.997/1.997, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.416/1.416, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000791/0.0007917, allocations: 11.98 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.8604, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00285/0.8633, allocations: 1.138 MB / 0.5841 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.8642, allocations: 240.9 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.8643, allocations: 0 / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.8643, allocations: 9.781 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.8644, allocations: 3.984 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.8648, allocations: 45.72 kB / 0.5844 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.8649, allocations: 14.61 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.8651, allocations: 3.891 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.623e-05/0.8651, allocations: 4.562 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.8652, allocations: 16.31 kB / 0.5844 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.8652, allocations: 1.25 kB / 0.5844 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.8656, allocations: 60.62 kB / 0.5845 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.8656, allocations: 5.703 kB / 0.5845 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.8656, allocations: 31.05 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.8658, allocations: 37.8 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8658, allocations: 0 / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.8658, allocations: 0 / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.8658, allocations: 0 / 0.5845 GB, free: 2.902 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.0005705/0.8664, allocations: 345.1 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.081e-05/0.8665, allocations: 14.3 kB / 0.5849 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.8666, allocations: 38.5 kB / 0.5849 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.8666, allocations: 6.328 kB / 0.5849 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.8667, allocations: 161.7 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.8668, allocations: 1.125 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.8668, allocations: 0.9688 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.8671, allocations: 53.33 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8671, allocations: 4.75 kB / 0.5851 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8671, allocations: 0 / 0.5851 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8672, allocations: 0.6875 kB / 0.5851 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.8675, allocations: 46.86 kB / 0.5852 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.868, allocations: 255 kB / 0.5854 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.8682, allocations: 40.8 kB / 0.5855 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.8693, allocations: 467.6 kB / 0.5859 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.8694, allocations: 32.64 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.8694, allocations: 0 / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006385/0.87, allocations: 105.5 kB / 0.586 GB, free: 1.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.8701, allocations: 56.61 kB / 0.5861 GB, free: 1.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.8702, allocations: 100.6 kB / 0.5862 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.8702, allocations: 26.52 kB / 0.5862 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.8703, allocations: 85.94 kB / 0.5863 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.8703, allocations: 5.562 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.8703, allocations: 4.125 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.8704, allocations: 312.1 kB / 0.5866 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8706, allocations: 23.78 kB / 0.5866 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.8707, allocations: 18.86 kB / 0.5866 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.8709, allocations: 27.28 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8709, allocations: 0.5625 kB / 0.5867 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003672/0.8713, allocations: 80.19 kB / 0.5867 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.8713, allocations: 6.156 kB / 0.5867 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8714, allocations: 0 / 0.5867 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8714, allocations: 0 / 0.5867 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.8715, allocations: 11.73 kB / 0.5868 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8716, allocations: 1.406 kB / 0.5868 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.8717, allocations: 11.66 kB / 0.5868 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.8717, allocations: 1.188 kB / 0.5868 GB, free: 0.707 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.8718, allocations: 117.2 kB / 0.5869 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.8718, allocations: 4.781 kB / 0.5869 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.8722, allocations: 80.78 kB / 0.587 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8723, allocations: 4.688 kB / 0.587 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8723, allocations: 8.938 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8723, allocations: 0 / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.8725, allocations: 160.5 kB / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8725, allocations: 0 / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.8726, allocations: 11.72 kB / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.8727, allocations: 1.094 kB / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.8727, allocations: 0 / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8727, allocations: 2.016 kB / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8727, allocations: 0 / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.8731, allocations: 179 kB / 0.5873 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.8732, allocations: 80.25 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.8732, allocations: 0 / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.8734, allocations: 12.98 kB / 0.5874 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.8734, allocations: 10.94 kB / 0.5874 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.8734, allocations: 0.7812 kB / 0.5874 GB, free: 80 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.8735, allocations: 83.69 kB / 0.5875 GB, free: 0 / 430.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8735, allocations: 0 / 0.5875 GB, free: 0 / 430.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.874, allocations: 14.48 kB / 0.5875 GB, free: 0 / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.8751, allocations: 0.7273 MB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.8756, allocations: 48.89 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8756, allocations: 0.9062 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.8758, allocations: 28.97 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.8761, allocations: 5.516 kB / 0.5883 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.8768, allocations: 140.9 kB / 0.5884 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.8772, allocations: 0.683 MB / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.8773, allocations: 4.719 kB / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.8774, allocations: 13.91 kB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.8774, allocations: 0 / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.8968, allocations: 1.229 MB / 0.5903 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/0.8972, allocations: 155.6 kB / 0.5905 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.418, allocations: 0 / 0.5905 GB, free: 14.05 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/linux/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) Environment - environmentSimulation: