Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_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.001772/0.001772, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7293/0.7293, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.764/1.764, allocations: 221.3 MB / 400.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 99.34 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.909e-05, allocations: 4.062 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1664, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5942/0.7606, allocations: 111.4 MB / 0.7493 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.7609, allocations: 77.3 kB / 0.7494 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006784/0.7677, allocations: 1.526 MB / 0.7509 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7678, allocations: 0 / 0.7509 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.7678, allocations: 0 / 0.7509 GB, free: 27.57 MB / 0.5105 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.000492/0.7683, allocations: 362.1 kB / 0.7512 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7684, allocations: 11.84 kB / 0.7512 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.7684, allocations: 30.56 kB / 0.7512 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.7685, allocations: 10.69 kB / 0.7513 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.7686, allocations: 171 kB / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7687, allocations: 0 / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.7687, allocations: 3.812 kB / 0.7514 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.7688, allocations: 36.61 kB / 0.7515 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7689, allocations: 0 / 0.7515 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7689, allocations: 0 / 0.7515 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7689, allocations: 0 / 0.7515 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.769, allocations: 15.56 kB / 0.7515 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.7695, allocations: 267.6 kB / 0.7517 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.7696, allocations: 25.92 kB / 0.7518 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.7697, allocations: 8.703 kB / 0.7518 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.7704, allocations: 444.8 kB / 0.7522 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.7704, allocations: 34.44 kB / 0.7522 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.7704, allocations: 3.938 kB / 0.7522 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.7706, allocations: 43.81 kB / 0.7523 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.7707, allocations: 59.38 kB / 0.7523 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.7708, allocations: 92.81 kB / 0.7524 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.7708, allocations: 25.7 kB / 0.7524 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.7709, allocations: 87.95 kB / 0.7525 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.7709, allocations: 13.83 kB / 0.7525 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.771, allocations: 0 / 0.7525 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7711, allocations: 314.8 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.7712, allocations: 7.781 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.7712, allocations: 3.844 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.7712, allocations: 7.906 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7712, allocations: 0 / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001161/0.7714, allocations: 47.89 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7714, allocations: 7.812 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7714, allocations: 0 / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7714, allocations: 0 / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.7716, allocations: 10.27 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7716, allocations: 2.859 kB / 0.7529 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.7717, allocations: 15.47 kB / 0.7529 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7717, allocations: 0 / 0.7529 GB, free: 25.43 MB / 0.5105 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 (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 7.892e-05/0.7718, allocations: 107.8 kB / 0.753 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.7718, allocations: 3.812 kB / 0.753 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.772, allocations: 47.12 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.772, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.772, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.772, allocations: 7.906 kB / 0.7531 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.7723, allocations: 159.3 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.7723, allocations: 0.8125 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7724, allocations: 10.28 kB / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.7724, allocations: 0 / 0.7532 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.7724, allocations: 3.75 kB / 0.7533 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7725, allocations: 0 / 0.7533 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7725, allocations: 7 kB / 0.7533 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.7726, allocations: 138.9 kB / 0.7534 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.7727, allocations: 87.91 kB / 0.7535 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.7727, allocations: 0 / 0.7535 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7728, allocations: 6.609 kB / 0.7535 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.7729, allocations: 11.77 kB / 0.7535 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.7729, allocations: 3.938 kB / 0.7535 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.773, allocations: 85.52 kB / 0.7536 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.773, allocations: 4.031 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003723/0.7734, allocations: 27.47 kB / 0.7536 GB, free: 24.75 MB / 0.5105 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 (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.0006577/0.774, allocations: 0.6933 MB / 0.7543 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.7741, allocations: 15.47 kB / 0.7543 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7742, allocations: 0 / 0.7543 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.7742, allocations: 14.59 kB / 0.7543 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7744, allocations: 3.688 kB / 0.7543 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.7749, allocations: 104.1 kB / 0.7544 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.7752, allocations: 0.68 MB / 0.7551 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.7753, allocations: 3.844 kB / 0.7551 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.7753, allocations: 7.438 kB / 0.7551 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.7753, allocations: 0 / 0.7551 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.7875, allocations: 1.201 MB / 0.7563 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.7877, allocations: 127.3 kB / 0.7564 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.277, allocations: 0 / 0.7564 GB, free: 22.89 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)