Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.008045/0.008045, allocations: 169.3 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.782/0.782, allocations: 135.2 MB / 151 MB, free: 13.81 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.54/1.54, allocations: 223.2 MB / 406.8 MB, free: 3.191 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.00101/0.00101, allocations: 99.12 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004393, allocations: 16 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4716, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.6258, allocations: 110.8 MB / 0.7577 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6261, allocations: 83.94 kB / 0.7578 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004212/0.6303, allocations: 1.294 MB / 0.7591 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6304, allocations: 0 / 0.7591 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.6304, allocations: 0 / 0.7591 GB, free: 3.812 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.0003598/0.6308, allocations: 331.4 kB / 0.7594 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6308, allocations: 8.031 kB / 0.7594 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.6309, allocations: 30.56 kB / 0.7594 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.6309, allocations: 4 kB / 0.7594 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.631, allocations: 163 kB / 0.7596 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.631, allocations: 4 kB / 0.7596 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.631, allocations: 0 / 0.7596 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.6312, allocations: 29.69 kB / 0.7596 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6312, allocations: 0 / 0.7596 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.6312, allocations: 3.938 kB / 0.7596 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6312, allocations: 0 / 0.7596 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.6312, allocations: 8 kB / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.6314, allocations: 149.6 kB / 0.7598 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.6315, allocations: 22.61 kB / 0.7598 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007583/0.6322, allocations: 445.5 kB / 0.7602 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6323, allocations: 38.56 kB / 0.7602 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.6323, allocations: 0 / 0.7602 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.6325, allocations: 33.64 kB / 0.7603 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.6325, allocations: 55.41 kB / 0.7603 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.6326, allocations: 85 kB / 0.7604 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.6326, allocations: 25.7 kB / 0.7604 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.6326, allocations: 80.14 kB / 0.7605 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.6327, allocations: 3.906 kB / 0.7605 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.6327, allocations: 128 / 0.7605 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6328, allocations: 322.8 kB / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-06/0.6328, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.6328, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/0.6329, allocations: 0 / 0.7608 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6329, allocations: 4 kB / 0.7608 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.896e-05/0.6329, allocations: 41.59 kB / 0.7609 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.633, allocations: 4 kB / 0.7609 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.633, allocations: 0 / 0.7609 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.633, allocations: 8.078 kB / 0.7609 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.6331, allocations: 4 kB / 0.7609 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6331, allocations: 0 / 0.7609 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.6331, allocations: 3.984 kB / 0.7609 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.6331, allocations: 0 / 0.7609 GB, free: 1.633 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.936e-05/0.6332, allocations: 105.8 kB / 0.761 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.6332, allocations: 7.953 kB / 0.761 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/0.6333, allocations: 40.7 kB / 0.761 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.6333, allocations: 4.031 kB / 0.761 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6333, allocations: 0 / 0.761 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6333, allocations: 0 / 0.761 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.6335, allocations: 149.7 kB / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6335, allocations: 0 / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.6335, allocations: 4 kB / 0.7612 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6335, allocations: 3.953 kB / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.6335, allocations: 0 / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6335, allocations: 0 / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6335, allocations: 7.938 kB / 0.7612 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.6336, allocations: 61.12 kB / 0.7612 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.6337, allocations: 77.11 kB / 0.7613 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.6337, allocations: 7.953 kB / 0.7613 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-06/0.6337, allocations: 0 / 0.7613 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.6337, allocations: 0 / 0.7613 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.6337, allocations: 0 / 0.7613 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.6338, allocations: 75.28 kB / 0.7614 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6338, allocations: 7.938 kB / 0.7614 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002346/0.634, allocations: 27.95 kB / 0.7614 GB, free: 0.9609 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.000618/0.6347, allocations: 0.6164 MB / 0.762 GB, free: 320 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.6348, allocations: 7.984 kB / 0.762 GB, free: 312 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6348, allocations: 0 / 0.762 GB, free: 312 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.6348, allocations: 3.938 kB / 0.762 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.635, allocations: 7.953 kB / 0.7621 GB, free: 300 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.6354, allocations: 124.3 kB / 0.7622 GB, free: 132 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.636, allocations: 0.6733 MB / 0.7628 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.636, allocations: 4 kB / 0.7628 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.6361, allocations: 7.438 kB / 0.7628 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.6361, allocations: 0 / 0.7628 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.651, allocations: 0.924 MB / 0.7637 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.6513, allocations: 178.2 kB / 0.7639 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.257, allocations: 0 / 0.7639 GB, free: 14.36 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)