Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 100.1 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.553e-05, allocations: 8 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4364, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.581, allocations: 110 MB / 0.7414 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.5812, allocations: 75.95 kB / 0.7415 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00343/0.5846, allocations: 1.282 MB / 0.7427 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5847, allocations: 0 / 0.7427 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5847, allocations: 4 kB / 0.7427 GB, free: 11.36 MB / 0.5261 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.0002568/0.5849, allocations: 326.5 kB / 0.743 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.585, allocations: 8.031 kB / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.585, allocations: 0 / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/0.5851, allocations: 163 kB / 0.7432 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5851, allocations: 8 kB / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.5852, allocations: 0 / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.638e-05/0.5852, allocations: 0 / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.328e-05/0.5853, allocations: 29.64 kB / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5853, allocations: 0 / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.5853, allocations: 4 kB / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5853, allocations: 0 / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.5854, allocations: 130.2 kB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.5855, allocations: 22.53 kB / 0.7434 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.5855, allocations: 8.953 kB / 0.7434 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/0.5861, allocations: 445.5 kB / 0.7438 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5862, allocations: 34.56 kB / 0.7438 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5862, allocations: 7.938 kB / 0.7439 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.5863, allocations: 33.62 kB / 0.7439 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.5864, allocations: 55.41 kB / 0.7439 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/0.5864, allocations: 85 kB / 0.744 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.5864, allocations: 25.7 kB / 0.744 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.5865, allocations: 80.14 kB / 0.7441 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5865, allocations: 3.906 kB / 0.7441 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.5865, allocations: 0 / 0.7441 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5866, allocations: 314.9 kB / 0.7444 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.5867, allocations: 0 / 0.7444 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.5867, allocations: 4 kB / 0.7444 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.5867, allocations: 3.938 kB / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5867, allocations: 0 / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.5868, allocations: 33.7 kB / 0.7445 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5868, allocations: 15.94 kB / 0.7445 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5868, allocations: 0 / 0.7445 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5868, allocations: 0 / 0.7445 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-05/0.5869, allocations: 8.031 kB / 0.7445 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5869, allocations: 3.984 kB / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.5869, allocations: 0 / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.5869, allocations: 4 kB / 0.7445 GB, free: 9.246 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.587, allocations: 101 kB / 0.7446 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.63e-05/0.5871, allocations: 29.7 kB / 0.7446 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.5871, allocations: 3.953 kB / 0.7446 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.5872, allocations: 41.38 kB / 0.7447 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5872, allocations: 4.062 kB / 0.7447 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5872, allocations: 0 / 0.7447 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-06/0.5872, allocations: 4 kB / 0.7447 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.363e-05/0.5873, allocations: 122.2 kB / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5873, allocations: 3.984 kB / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.5873, allocations: 0 / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5873, allocations: 3.953 kB / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.5873, allocations: 8 kB / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.5873, allocations: 0 / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5873, allocations: 0 / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.329e-05/0.5874, allocations: 57.14 kB / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.5875, allocations: 85.03 kB / 0.7449 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.5875, allocations: 7.953 kB / 0.7449 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-06/0.5875, allocations: 0 / 0.7449 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-06/0.5875, allocations: 0 / 0.7449 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.5875, allocations: 0 / 0.7449 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.5875, allocations: 75.28 kB / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5875, allocations: 0 / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002035/0.5878, allocations: 23.97 kB / 0.745 GB, free: 8.598 MB / 0.5261 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 () * 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 (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.000507/0.5883, allocations: 0.6241 MB / 0.7457 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.783e-05/0.5883, allocations: 8 kB / 0.7457 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5883, allocations: 0 / 0.7457 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.5884, allocations: 4 kB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.931e-05/0.5885, allocations: 3.953 kB / 0.7457 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.5887, allocations: 93.58 kB / 0.7458 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.589, allocations: 0.6729 MB / 0.7464 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.589, allocations: 12.05 kB / 0.7464 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.589, allocations: 7.438 kB / 0.7464 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.589, allocations: 0 / 0.7464 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.6082, allocations: 0.6426 MB / 0.7471 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.6084, allocations: 124.1 kB / 0.7472 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/2.021, allocations: 0 / 0.7472 GB, free: 6.254 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)