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.01046/0.01046, allocations: 172.2 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.9108/0.9108, allocations: 135.2 MB / 151 MB, free: 13.8 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.481/1.481, allocations: 223.2 MB / 406.8 MB, free: 3.148 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.0009013/0.0009013, allocations: 105.7 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4093, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5536, allocations: 110.8 MB / 0.7577 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5539, allocations: 75.94 kB / 0.7578 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003605/0.5575, allocations: 1.286 MB / 0.759 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5575, allocations: 0 / 0.759 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.5575, allocations: 0 / 0.759 GB, free: 3.844 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.0002657/0.5578, allocations: 335.4 kB / 0.7594 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5579, allocations: 12.03 kB / 0.7594 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.5579, allocations: 30.56 kB / 0.7594 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.5579, allocations: 0 / 0.7594 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.558, allocations: 163 kB / 0.7596 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5581, allocations: 11.88 kB / 0.7596 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.5581, allocations: 0 / 0.7596 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.5582, allocations: 37.67 kB / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.5582, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.5582, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5582, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.5582, allocations: 0 / 0.7596 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.5584, allocations: 153.6 kB / 0.7598 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.5584, allocations: 30.48 kB / 0.7598 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/0.559, allocations: 445.5 kB / 0.7602 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.5591, allocations: 34.56 kB / 0.7602 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.5591, allocations: 0 / 0.7602 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.5592, allocations: 33.7 kB / 0.7603 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.5593, allocations: 51.41 kB / 0.7603 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.917e-05/0.5593, allocations: 85 kB / 0.7604 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.5593, allocations: 25.7 kB / 0.7604 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.5593, allocations: 84.14 kB / 0.7605 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.5594, allocations: 3.906 kB / 0.7605 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-06/0.5594, allocations: 0 / 0.7605 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5595, allocations: 314.8 kB / 0.7608 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.5595, allocations: 8.047 kB / 0.7608 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-06/0.5595, allocations: 4 kB / 0.7608 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.428e-05/0.5595, allocations: 4 kB / 0.7608 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5595, allocations: 0 / 0.7608 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.901e-05/0.5596, allocations: 33.66 kB / 0.7609 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5596, allocations: 4 kB / 0.7609 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5596, allocations: 4 kB / 0.7609 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5597, allocations: 0 / 0.7609 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.5597, allocations: 0 / 0.7609 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5597, allocations: 0 / 0.7609 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.5597, allocations: 4.094 kB / 0.7609 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5597, allocations: 0 / 0.7609 GB, free: 1.66 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 6.947e-05/0.5598, allocations: 113.8 kB / 0.761 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.5598, allocations: 3.953 kB / 0.761 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.5599, allocations: 40.77 kB / 0.761 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5599, allocations: 0 / 0.761 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5599, allocations: 0 / 0.761 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5599, allocations: 0 / 0.761 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.569e-05/0.56, allocations: 149.7 kB / 0.7612 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.56, allocations: 8.031 kB / 0.7612 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.56, allocations: 0 / 0.7612 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5601, allocations: 3.953 kB / 0.7612 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5601, allocations: 3.938 kB / 0.7612 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5601, allocations: 0 / 0.7612 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5601, allocations: 7.938 kB / 0.7612 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.5602, allocations: 61.06 kB / 0.7612 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.5602, allocations: 81.14 kB / 0.7613 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.5602, allocations: 3.953 kB / 0.7613 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.5602, allocations: 0 / 0.7613 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-06/0.5602, allocations: 4 kB / 0.7613 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.5603, allocations: 0 / 0.7613 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.5603, allocations: 75.28 kB / 0.7614 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5603, allocations: 0 / 0.7614 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002153/0.5605, allocations: 23.92 kB / 0.7614 GB, free: 0.9883 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.0004858/0.561, allocations: 0.6203 MB / 0.762 GB, free: 344 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.904e-05/0.5611, allocations: 11.97 kB / 0.762 GB, free: 332 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5611, allocations: 0 / 0.762 GB, free: 332 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.5611, allocations: 7.984 kB / 0.762 GB, free: 324 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.52e-05/0.5612, allocations: 3.953 kB / 0.7621 GB, free: 320 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.5615, allocations: 116.3 kB / 0.7622 GB, free: 160 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.5618, allocations: 0.677 MB / 0.7628 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.491e-05/0.5618, allocations: 0 / 0.7628 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.5618, allocations: 7.438 kB / 0.7628 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5618, allocations: 4 kB / 0.7628 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.5733, allocations: 0.9186 MB / 0.7637 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.5736, allocations: 171.8 kB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.084, allocations: 0 / 0.7639 GB, free: 14.39 MB / 0.5417 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)