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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005652/0.005652, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 12 kB / 0.5077 GB, free: 4.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 82.3 MB / 0.5881 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001457/0.1447, allocations: 1.152 MB / 0.5892 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000532/0.1453, allocations: 249.8 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.1453, allocations: 0 / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1453, allocations: 0 / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.1454, allocations: 3.938 kB / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1457, allocations: 43.95 kB / 0.5895 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.1458, allocations: 23.92 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1459, allocations: 11.94 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.146, allocations: 11.92 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.146, allocations: 8 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.146, allocations: 0 / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1462, allocations: 63.88 kB / 0.5896 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1462, allocations: 4 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.1463, allocations: 33.62 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1464, allocations: 55.8 kB / 0.5897 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1464, allocations: 0 / 0.5897 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1464, allocations: 0 / 0.5897 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1464, allocations: 4 kB / 0.5897 GB, free: 0.8945 MB / 494.1 MB 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.0004686/0.1469, allocations: 351.7 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.147, allocations: 8.031 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.147, allocations: 34.75 kB / 0.5901 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.147, allocations: 0.9375 kB / 0.5901 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.1471, allocations: 160.4 kB / 0.5902 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1471, allocations: 16.36 kB / 0.5902 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1471, allocations: 384 / 0.5902 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1473, allocations: 50.25 kB / 0.5903 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1473, allocations: 3.938 kB / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1473, allocations: 0 / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1474, allocations: 7.922 kB / 0.5903 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1475, allocations: 43.97 kB / 0.5903 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.1478, allocations: 252.9 kB / 0.5906 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.148, allocations: 50.5 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.1481, allocations: 20.91 kB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.1487, allocations: 461.5 kB / 0.5911 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1487, allocations: 38.44 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.1487, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003621/0.1491, allocations: 101.7 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1491, allocations: 51.41 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.1492, allocations: 97.86 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1492, allocations: 25.7 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.1493, allocations: 88.12 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1493, allocations: 3.906 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.1493, allocations: 9.719 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.1494, allocations: 318.9 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.1495, allocations: 19.98 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.1496, allocations: 23.92 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1498, allocations: 52.88 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1498, allocations: 7.938 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.15, allocations: 77.66 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.15, allocations: 7.938 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.15, allocations: 0 / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.15, allocations: 0 / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.1501, allocations: 8 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1501, allocations: 3.984 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.1502, allocations: 8 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1502, allocations: 4.031 kB / 0.592 GB, free: 14.21 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.1503, allocations: 117.8 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1503, allocations: 4.125 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1505, allocations: 88.75 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1505, allocations: 0 / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1505, allocations: 0 / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1506, allocations: 0 / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1507, allocations: 161.5 kB / 0.5923 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1507, allocations: 0 / 0.5923 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.1508, allocations: 11.98 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1508, allocations: 0 / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1508, allocations: 4 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1508, allocations: 0 / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1508, allocations: 8.031 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.151, allocations: 179.3 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.1511, allocations: 81.05 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1511, allocations: 8.031 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.1512, allocations: 7.984 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1512, allocations: 0 / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1512, allocations: 4 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.1513, allocations: 83.27 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1513, allocations: 4 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.1515, allocations: 12 kB / 0.5927 GB, free: 13.35 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000556/0.1521, allocations: 0.728 MB / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1523, allocations: 43.97 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1523, allocations: 0 / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.1524, allocations: 28.05 kB / 0.5935 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1526, allocations: 4 kB / 0.5935 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.153, allocations: 138.3 kB / 0.5936 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.1532, allocations: 0.677 MB / 0.5943 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.935e-05/0.1532, allocations: 8.062 kB / 0.5943 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1533, allocations: 15.38 kB / 0.5943 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1533, allocations: 3.938 kB / 0.5943 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1749, allocations: 1.247 MB / 0.5955 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.1751, allocations: 174.1 kB / 0.5957 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.102, allocations: 0 / 0.5957 GB, free: 10.25 MB / 0.4981 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/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)