Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.01104/0.01104, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8192/0.8192, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0009424/0.0009423, allocations: 100.4 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003656, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3961, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.6039, allocations: 111.5 MB / 0.7584 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6043, allocations: 71.95 kB / 0.7585 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005937/0.6102, allocations: 1.544 MB / 0.76 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.991e-06/0.6103, allocations: 4 kB / 0.76 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6103, allocations: 0 / 0.76 GB, free: 2.887 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005004/0.6108, allocations: 363.2 kB / 0.7603 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6109, allocations: 8.031 kB / 0.7603 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.6109, allocations: 38.55 kB / 0.7604 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.611, allocations: 4 kB / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6111, allocations: 163 kB / 0.7605 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6111, allocations: 4 kB / 0.7605 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.6111, allocations: 0 / 0.7605 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.6114, allocations: 53.67 kB / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6114, allocations: 0 / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6114, allocations: 3.984 kB / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6114, allocations: 0 / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.6117, allocations: 47.95 kB / 0.7606 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.6122, allocations: 276.8 kB / 0.7609 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.6124, allocations: 38.56 kB / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.6131, allocations: 445.5 kB / 0.7613 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.6132, allocations: 34.55 kB / 0.7614 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.945e-06/0.6132, allocations: 0 / 0.7614 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004631/0.6137, allocations: 105.5 kB / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6137, allocations: 55.39 kB / 0.7615 GB, free: 1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.6138, allocations: 93 kB / 0.7616 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.6138, allocations: 29.7 kB / 0.7617 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.6139, allocations: 84.08 kB / 0.7617 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.6139, allocations: 3.906 kB / 0.7617 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.6139, allocations: 0 / 0.7617 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6141, allocations: 326.8 kB / 0.762 GB, free: 460 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.6142, allocations: 19.98 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.6143, allocations: 19.98 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.6145, allocations: 24.05 kB / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6145, allocations: 0 / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002614/0.6147, allocations: 77.59 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6148, allocations: 5.094 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6148, allocations: 4.031 kB / 0.7622 GB, free: 304 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6148, allocations: 4 kB / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6149, allocations: 11.98 kB / 0.7622 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6149, allocations: 0 / 0.7622 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.615, allocations: 11.98 kB / 0.7622 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.615, allocations: 4 kB / 0.7622 GB, free: 272 kB / 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 () * 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 9.538e-05/0.6151, allocations: 109.8 kB / 0.7623 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.6152, allocations: 4 kB / 0.7623 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.6155, allocations: 80.78 kB / 0.7624 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6155, allocations: 3.938 kB / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6155, allocations: 0 / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6155, allocations: 4.031 kB / 0.7624 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.6158, allocations: 169.6 kB / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6158, allocations: 0 / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.6159, allocations: 8 kB / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6159, allocations: 0 / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.6159, allocations: 0 / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6159, allocations: 3.984 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6159, allocations: 0 / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.6162, allocations: 179.4 kB / 0.7628 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.6163, allocations: 81.09 kB / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.6163, allocations: 0 / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6165, allocations: 15.97 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.6165, allocations: 3.984 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.6165, allocations: 0 / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.6166, allocations: 79.28 kB / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6166, allocations: 3.938 kB / 0.7629 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004305/0.617, allocations: 27.94 kB / 0.763 GB, free: 15.41 MB / 0.5417 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 (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.0008809/0.6179, allocations: 0.7361 MB / 0.7637 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.6182, allocations: 47.95 kB / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6183, allocations: 3.938 kB / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.6184, allocations: 27.98 kB / 0.7638 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.6187, allocations: 4 kB / 0.7638 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.6192, allocations: 150.3 kB / 0.7639 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.6196, allocations: 0.6848 MB / 0.7646 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.6196, allocations: 4.062 kB / 0.7646 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.6197, allocations: 7.438 kB / 0.7646 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.6197, allocations: 0 / 0.7646 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.6343, allocations: 1.209 MB / 0.7658 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.6346, allocations: 165.8 kB / 0.7659 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.13, allocations: 0 / 0.7659 GB, free: 12.3 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)