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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7955/0.7955, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.399/1.399, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008141/0.0008143, allocations: 107.6 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.294e-05, allocations: 8 kB / 0.5536 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4415, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.5789, allocations: 110 MB / 0.7414 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5792, allocations: 79.94 kB / 0.7414 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00343/0.5826, allocations: 1.228 MB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.677e-06/0.5827, allocations: 0 / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.5827, allocations: 7.938 kB / 0.7427 GB, free: 11.37 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.0003608/0.5831, allocations: 318.5 kB / 0.743 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.5831, allocations: 12.03 kB / 0.743 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.5832, allocations: 4 kB / 0.743 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.5833, allocations: 163 kB / 0.7431 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5833, allocations: 0 / 0.7431 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.5833, allocations: 0 / 0.7431 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.451e-05/0.5834, allocations: 0 / 0.7431 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.435e-05/0.5835, allocations: 37.67 kB / 0.7432 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5835, allocations: 0 / 0.7432 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5835, allocations: 0 / 0.7432 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5835, allocations: 0 / 0.7432 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.5837, allocations: 138.2 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.5838, allocations: 22.56 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.5838, allocations: 4.859 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/0.5845, allocations: 441.5 kB / 0.7437 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5845, allocations: 34.56 kB / 0.7438 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.5845, allocations: 0 / 0.7438 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.5847, allocations: 33.69 kB / 0.7438 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5848, allocations: 51.41 kB / 0.7439 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.5848, allocations: 85 kB / 0.7439 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.5848, allocations: 25.7 kB / 0.744 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.5849, allocations: 88.08 kB / 0.744 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.5849, allocations: 3.906 kB / 0.744 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5849, allocations: 3.938 kB / 0.7441 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5851, allocations: 318.9 kB / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.5851, allocations: 0 / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.5851, allocations: 0 / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.5852, allocations: 4 kB / 0.7444 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5852, allocations: 0 / 0.7444 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.777e-05/0.5853, allocations: 29.7 kB / 0.7444 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5853, allocations: 11.94 kB / 0.7444 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5853, allocations: 0 / 0.7444 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5853, allocations: 4.094 kB / 0.7444 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.5854, allocations: 4 kB / 0.7444 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5854, allocations: 0 / 0.7444 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.5854, allocations: 3.938 kB / 0.7444 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.5854, allocations: 0 / 0.7444 GB, free: 9.277 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 8.892e-05/0.5855, allocations: 106.9 kB / 0.7445 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.65e-05/0.5856, allocations: 33.64 kB / 0.7445 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-06/0.5856, allocations: 3.953 kB / 0.7445 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.5857, allocations: 45.47 kB / 0.7446 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5857, allocations: 0 / 0.7446 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5857, allocations: 0 / 0.7446 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5857, allocations: 0 / 0.7446 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.562e-05/0.5858, allocations: 126.2 kB / 0.7447 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5858, allocations: 4 kB / 0.7447 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.5858, allocations: 0 / 0.7447 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5859, allocations: 3.953 kB / 0.7447 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.5859, allocations: 0 / 0.7447 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5859, allocations: 0 / 0.7447 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5859, allocations: 3.938 kB / 0.7447 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/0.586, allocations: 57.17 kB / 0.7448 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.586, allocations: 81.09 kB / 0.7449 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.586, allocations: 3.953 kB / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-06/0.5861, allocations: 0 / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.5861, allocations: 0 / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.5861, allocations: 12 kB / 0.7449 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.5861, allocations: 75.28 kB / 0.7449 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.895e-06/0.5861, allocations: 4.031 kB / 0.7449 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002201/0.5864, allocations: 27.88 kB / 0.745 GB, free: 8.613 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.0005685/0.5869, allocations: 0.628 MB / 0.7456 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.587, allocations: 0 / 0.7456 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.587, allocations: 0 / 0.7456 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.298e-06/0.587, allocations: 4 kB / 0.7456 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.5871, allocations: 3.953 kB / 0.7456 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.5874, allocations: 85.64 kB / 0.7457 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5877, allocations: 0.673 MB / 0.7463 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.213e-05/0.5877, allocations: 4 kB / 0.7463 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.5877, allocations: 7.438 kB / 0.7463 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of SimCode: time 2.094e-06/0.5877, allocations: 0 / 0.7463 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.6091, allocations: 0.6486 MB / 0.747 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.6093, allocations: 133 kB / 0.7471 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.151, allocations: 0 / 0.7471 GB, free: 6.277 MB / 0.5261 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/linux/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)