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.006026/0.006026, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, 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.476/1.476, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.0008938/0.0008936, allocations: 96.89 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003543, allocations: 12 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.43, allocations: 82.31 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5755, allocations: 110.7 MB / 0.7577 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.5758, allocations: 75.95 kB / 0.7578 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00345/0.5792, allocations: 1.263 MB / 0.759 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5792, allocations: 0 / 0.759 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5793, allocations: 0 / 0.759 GB, free: 3.859 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.0002954/0.5796, allocations: 323.4 kB / 0.7593 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5796, allocations: 8.031 kB / 0.7593 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.5796, allocations: 34.55 kB / 0.7593 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.5797, allocations: 4 kB / 0.7593 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5798, allocations: 163 kB / 0.7595 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5798, allocations: 7.938 kB / 0.7595 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.5798, allocations: 4 kB / 0.7595 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.5799, allocations: 25.7 kB / 0.7595 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.58, allocations: 0 / 0.7595 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.58, allocations: 0 / 0.7595 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.58, allocations: 3.938 kB / 0.7595 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.58, allocations: 4 kB / 0.7595 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.5802, allocations: 149.6 kB / 0.7597 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.516e-05/0.5802, allocations: 22.58 kB / 0.7597 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.5809, allocations: 437.6 kB / 0.7601 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.5809, allocations: 38.56 kB / 0.7602 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5809, allocations: 0 / 0.7602 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.5811, allocations: 37.64 kB / 0.7602 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5811, allocations: 51.41 kB / 0.7602 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.215e-05/0.5812, allocations: 88.94 kB / 0.7603 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5812, allocations: 25.7 kB / 0.7603 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.5812, allocations: 80.14 kB / 0.7604 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.5813, allocations: 7.891 kB / 0.7604 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.5813, allocations: 0 / 0.7604 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5814, allocations: 314.8 kB / 0.7607 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.5814, allocations: 4.125 kB / 0.7607 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.5814, allocations: 4 kB / 0.7607 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.701e-05/0.5814, allocations: 0 / 0.7607 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5815, allocations: 4 kB / 0.7607 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.538e-05/0.5815, allocations: 37.59 kB / 0.7608 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5815, allocations: 4 kB / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5816, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5816, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.5816, allocations: 7.984 kB / 0.7608 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5816, allocations: 4.094 kB / 0.7608 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.5817, allocations: 0 / 0.7608 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.5817, allocations: 0 / 0.7608 GB, free: 1.691 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.5817, allocations: 105.8 kB / 0.7609 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.5818, allocations: 7.953 kB / 0.7609 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.5818, allocations: 44.8 kB / 0.7609 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5819, allocations: 3.938 kB / 0.761 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5819, allocations: 0 / 0.761 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5819, allocations: 32 / 0.761 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.582, allocations: 145.7 kB / 0.7611 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.582, allocations: 0 / 0.7611 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.582, allocations: 4 kB / 0.7611 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.582, allocations: 3.953 kB / 0.7611 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.582, allocations: 7.938 kB / 0.7611 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.582, allocations: 0 / 0.7611 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.582, allocations: 0 / 0.7611 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.5821, allocations: 65.12 kB / 0.7612 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.5822, allocations: 77.11 kB / 0.7612 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5822, allocations: 3.953 kB / 0.7612 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.5822, allocations: 0 / 0.7612 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.5822, allocations: 0 / 0.7612 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.5822, allocations: 7.922 kB / 0.7613 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.5823, allocations: 79.28 kB / 0.7613 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.883e-06/0.5823, allocations: 0 / 0.7613 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000223/0.5825, allocations: 27.88 kB / 0.7614 GB, free: 1.016 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 () * 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 (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.5831, allocations: 0.6203 MB / 0.762 GB, free: 372 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.271e-05/0.5832, allocations: 12.02 kB / 0.762 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5832, allocations: 0 / 0.762 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/0.5832, allocations: 7.938 kB / 0.762 GB, free: 352 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.244e-05/0.5833, allocations: 3.953 kB / 0.762 GB, free: 348 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.5836, allocations: 116.3 kB / 0.7621 GB, free: 188 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5839, allocations: 0.6692 MB / 0.7627 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.159e-05/0.5839, allocations: 0 / 0.7627 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.5839, allocations: 11.44 kB / 0.7628 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5839, allocations: 4.125 kB / 0.7628 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.5957, allocations: 0.9065 MB / 0.7636 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.596, allocations: 173.3 kB / 0.7638 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.063, allocations: 3.938 kB / 0.7638 GB, free: 14.43 MB / 0.5417 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)