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.001328/0.001328, allocations: 99.62 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.001658/0.001658, allocations: 177.3 kB / 15.95 MB, free: 216 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.707/1.707, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.139/1.139, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005339/0.0005341, allocations: 8 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.83, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002477/0.8326, allocations: 1.137 MB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006738/0.8333, allocations: 238.4 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.8333, allocations: 0.7812 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.8334, allocations: 3.938 kB / 0.5843 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.8334, allocations: 1.344 kB / 0.5843 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.8339, allocations: 40.11 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.8339, allocations: 15.09 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.834, allocations: 10.56 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.8341, allocations: 5.109 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.8342, allocations: 5.062 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.8342, allocations: 9.188 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.8344, allocations: 59.33 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.8344, allocations: 0.6562 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.8345, allocations: 32.52 kB / 0.5845 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.8346, allocations: 35.84 kB / 0.5845 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8346, allocations: 0 / 0.5845 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8346, allocations: 1.031 kB / 0.5845 GB, free: 2.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.8347, allocations: 0 / 0.5845 GB, free: 2.922 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.0004646/0.8351, allocations: 349.1 kB / 0.5848 GB, free: 2.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.8352, allocations: 12.69 kB / 0.5849 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.8352, allocations: 32.27 kB / 0.5849 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.8353, allocations: 1.406 kB / 0.5849 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8354, allocations: 170 kB / 0.5851 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8354, allocations: 4.688 kB / 0.5851 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.8354, allocations: 1.312 kB / 0.5851 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.8356, allocations: 65.75 kB / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.8357, allocations: 0 / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8357, allocations: 4.875 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8357, allocations: 0 / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.8359, allocations: 42.75 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.8363, allocations: 258.1 kB / 0.5854 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.8365, allocations: 41.58 kB / 0.5855 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.8372, allocations: 455.4 kB / 0.5859 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8373, allocations: 36.73 kB / 0.5859 GB, free: 1.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.8373, allocations: 0 / 0.5859 GB, free: 1.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004166/0.8377, allocations: 101 kB / 0.586 GB, free: 1.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.8377, allocations: 53.41 kB / 0.5861 GB, free: 1.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.8378, allocations: 104.7 kB / 0.5862 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.8378, allocations: 25.7 kB / 0.5862 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.8379, allocations: 82.66 kB / 0.5863 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.8379, allocations: 13.77 kB / 0.5863 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.8379, allocations: 0 / 0.5863 GB, free: 1.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.838, allocations: 316.4 kB / 0.5866 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.8381, allocations: 23.89 kB / 0.5866 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.8382, allocations: 22.94 kB / 0.5866 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.8383, allocations: 22.8 kB / 0.5867 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8383, allocations: 0 / 0.5867 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002203/0.8385, allocations: 80.22 kB / 0.5867 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.8386, allocations: 6.062 kB / 0.5867 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8386, allocations: 3.984 kB / 0.5867 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8386, allocations: 1.094 kB / 0.5867 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.8387, allocations: 12.2 kB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.8387, allocations: 0.6562 kB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.8388, allocations: 7.188 kB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.8388, allocations: 10.2 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 8.028e-05/0.8389, allocations: 109.9 kB / 0.5869 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.8389, allocations: 1.5 kB / 0.5869 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.8392, allocations: 84.2 kB / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8392, allocations: 0.6562 kB / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8392, allocations: 5.469 kB / 0.587 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8392, allocations: 0 / 0.587 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.8394, allocations: 163.5 kB / 0.5871 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8394, allocations: 0.6562 kB / 0.5871 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.8395, allocations: 15.08 kB / 0.5871 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8395, allocations: 4.812 kB / 0.5871 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.8395, allocations: 0 / 0.5871 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8395, allocations: 1.391 kB / 0.5871 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8395, allocations: 4.969 kB / 0.5871 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.8399, allocations: 175.4 kB / 0.5873 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.84, allocations: 83.27 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.84, allocations: 0.9375 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.8402, allocations: 8.5 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.8402, allocations: 3.812 kB / 0.5874 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.8402, allocations: 4 kB / 0.5874 GB, free: 88 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.8403, allocations: 89 kB / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.8403, allocations: 0 / 0.5875 GB, free: 4 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.8408, allocations: 18.06 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.001123/0.8419, allocations: 0.7225 MB / 0.5882 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.8423, allocations: 44.98 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8424, allocations: 4.062 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.8425, allocations: 25.55 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.8428, allocations: 9.438 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.8436, allocations: 137.2 kB / 0.5884 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.844, allocations: 0.6863 MB / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.8441, allocations: 1.375 kB / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.8441, allocations: 9.859 kB / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.677e-06/0.8441, allocations: 0 / 0.5891 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.8639, allocations: 1.215 MB / 0.5903 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.8643, allocations: 155 kB / 0.5904 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.55, allocations: 0 / 0.5904 GB, free: 14.07 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/linux/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) Environment - environmentSimulation: