Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.007058/0.007058, allocations: 102 kB / 15.73 MB, free: 6.051 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.001657/0.001657, allocations: 195 kB / 16.68 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.1 MB / 425.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.5852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4103, allocations: 80.92 MB / 0.6642 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001804/0.4122, allocations: 0.5744 MB / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004673/0.4127, allocations: 186.6 kB / 0.6649 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.4128, allocations: 4 kB / 0.6649 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.4128, allocations: 0 / 0.6649 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.4128, allocations: 3.938 kB / 0.6649 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.4132, allocations: 49.42 kB / 0.665 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.4133, allocations: 5.484 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.4133, allocations: 1.062 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.4133, allocations: 1.219 kB / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.158e-05/0.4133, allocations: 0 / 0.665 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.4134, allocations: 3.938 kB / 0.665 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.4135, allocations: 61.47 kB / 0.6651 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.4135, allocations: 1.188 kB / 0.6651 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.4136, allocations: 4 kB / 0.6651 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.4137, allocations: 32.33 kB / 0.6651 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.4137, allocations: 1.188 kB / 0.6651 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4137, allocations: 0 / 0.6651 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4137, allocations: 0 / 0.6651 GB, free: 6.566 MB / 0.4981 GB 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.000245/0.414, allocations: 322 kB / 0.6654 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.414, allocations: 12.31 kB / 0.6654 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.033e-05/0.4141, allocations: 31.81 kB / 0.6654 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.4141, allocations: 0.9375 kB / 0.6655 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.66e-05/0.4141, allocations: 169.8 kB / 0.6656 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.4142, allocations: 384 / 0.6656 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.4142, allocations: 384 / 0.6656 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.048e-05/0.4142, allocations: 32.62 kB / 0.6656 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4143, allocations: 3.938 kB / 0.6656 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.4143, allocations: 0 / 0.6656 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4143, allocations: 1.219 kB / 0.6656 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.4143, allocations: 1.219 kB / 0.6657 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.963e-05/0.4144, allocations: 147.1 kB / 0.6658 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.134e-05/0.4144, allocations: 31.78 kB / 0.6658 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.4145, allocations: 6.203 kB / 0.6658 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/0.415, allocations: 451.6 kB / 0.6663 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4151, allocations: 35.75 kB / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4151, allocations: 0 / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.4152, allocations: 42.81 kB / 0.6663 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.4152, allocations: 55.34 kB / 0.6664 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.415e-05/0.4152, allocations: 89.86 kB / 0.6665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.4152, allocations: 29.67 kB / 0.6665 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-06/0.4152, allocations: 80.14 kB / 0.6666 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.4153, allocations: 4 kB / 0.6666 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.4153, allocations: 13.84 kB / 0.6666 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.4153, allocations: 314.8 kB / 0.6669 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.4154, allocations: 1.469 kB / 0.6669 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.4154, allocations: 1.531 kB / 0.6669 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.041e-05/0.4154, allocations: 11.38 kB / 0.6669 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4154, allocations: 0 / 0.6669 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.059e-05/0.4154, allocations: 38.83 kB / 0.6669 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4155, allocations: 5.562 kB / 0.6669 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4155, allocations: 8.031 kB / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4155, allocations: 0 / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.4155, allocations: 2.25 kB / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4155, allocations: 0 / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-06/0.4156, allocations: 1.406 kB / 0.667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4156, allocations: 0 / 0.667 GB, free: 4.43 MB / 0.4981 GB 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 3.906e-05/0.4156, allocations: 107.1 kB / 0.6671 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.4156, allocations: 5.078 kB / 0.6671 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.4157, allocations: 41.05 kB / 0.6671 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4157, allocations: 0 / 0.6671 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4157, allocations: 0 / 0.6671 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4157, allocations: 1.406 kB / 0.6671 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.41e-05/0.4157, allocations: 149.7 kB / 0.6673 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4158, allocations: 5.344 kB / 0.6673 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.4158, allocations: 5.062 kB / 0.6673 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4158, allocations: 0 / 0.6673 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.4158, allocations: 5.062 kB / 0.6673 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4158, allocations: 0 / 0.6673 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4158, allocations: 1.375 kB / 0.6673 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.664e-05/0.4158, allocations: 62.41 kB / 0.6673 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.4159, allocations: 78.3 kB / 0.6674 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.4159, allocations: 3.938 kB / 0.6674 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.4159, allocations: 1.312 kB / 0.6674 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.4159, allocations: 3.938 kB / 0.6674 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.4159, allocations: 1.219 kB / 0.6674 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.113e-05/0.4159, allocations: 75.28 kB / 0.6675 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4159, allocations: 4.031 kB / 0.6675 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002027/0.4161, allocations: 11 kB / 0.6675 GB, free: 3.805 MB / 0.4981 GB 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.0002884/0.4164, allocations: 0.6309 MB / 0.6681 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.4165, allocations: 4.031 kB / 0.6681 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4165, allocations: 0 / 0.6681 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.4165, allocations: 2.688 kB / 0.6681 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.4166, allocations: 5.344 kB / 0.6681 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.4169, allocations: 122.5 kB / 0.6682 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.417, allocations: 0.6704 MB / 0.6689 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.298e-06/0.417, allocations: 4.125 kB / 0.6689 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.417, allocations: 8.844 kB / 0.6689 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.417, allocations: 0 / 0.6689 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.4352, allocations: 1.136 MB / 0.67 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.698, allocations: 5.203 kB / 0.67 GB, free: 1.648 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)