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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.0009298, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007013/0.007013, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8687/0.8687, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 12.28 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006547/0.1541, allocations: 311.1 kB / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004675/0.1546, allocations: 183.5 kB / 0.5885 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.1546, allocations: 0 / 0.5885 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1546, allocations: 0 / 0.5885 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.1547, allocations: 11.94 kB / 0.5886 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.155, allocations: 35.91 kB / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.181e-05/0.1551, allocations: 4 kB / 0.5886 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.1551, allocations: 3.984 kB / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.1551, allocations: 0 / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.1552, allocations: 0 / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.1552, allocations: 0 / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1554, allocations: 67.88 kB / 0.5887 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.1554, allocations: 0 / 0.5887 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1554, allocations: 25.7 kB / 0.5887 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1556, allocations: 47.88 kB / 0.5887 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1556, allocations: 0 / 0.5887 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1556, allocations: 0 / 0.5887 GB, free: 1.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1556, allocations: 0 / 0.5887 GB, free: 1.832 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002757/0.1559, allocations: 311.6 kB / 0.589 GB, free: 1.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1559, allocations: 12.03 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.156, allocations: 30.75 kB / 0.5891 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.156, allocations: 0.9375 kB / 0.5891 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.1561, allocations: 164.4 kB / 0.5892 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1561, allocations: 4.312 kB / 0.5892 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.1561, allocations: 4.375 kB / 0.5892 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.1562, allocations: 38.27 kB / 0.5893 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1562, allocations: 3.938 kB / 0.5893 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1563, allocations: 3.984 kB / 0.5893 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1563, allocations: 0 / 0.5893 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.1563, allocations: 3.938 kB / 0.5893 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1564, allocations: 149.7 kB / 0.5894 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.445e-05/0.1565, allocations: 18.58 kB / 0.5895 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.1565, allocations: 8.859 kB / 0.5895 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.1572, allocations: 449.6 kB / 0.5899 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1572, allocations: 30.56 kB / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1572, allocations: 4 kB / 0.5899 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.1574, allocations: 49.56 kB / 0.59 GB, free: 308 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1574, allocations: 51.41 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.97e-05/0.1574, allocations: 89.86 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1575, allocations: 29.64 kB / 0.5901 GB, free: 108 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.1575, allocations: 81.8 kB / 0.5902 GB, free: 24 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1575, allocations: 3.906 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1576, allocations: 9.719 kB / 0.5902 GB, free: 4 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1577, allocations: 319 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.1577, allocations: 0 / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.1577, allocations: 0 / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.1577, allocations: 12.86 kB / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1577, allocations: 0 / 0.5905 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.305e-05/0.1578, allocations: 37.62 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1578, allocations: 4 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1578, allocations: 7.922 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1578, allocations: 4 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.494e-05/0.1579, allocations: 4.094 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1579, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.1579, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1579, allocations: 0 / 0.5906 GB, free: 15.61 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 (1): * Single equations (assignments): 1 * 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 7.442e-05/0.158, allocations: 109.8 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.158, allocations: 3.984 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.1581, allocations: 44.7 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1581, allocations: 3.938 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1581, allocations: 4.031 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1581, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.1582, allocations: 145.7 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1582, allocations: 4 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.1583, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1583, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1583, allocations: 3.938 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1583, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1583, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.541e-05/0.1584, allocations: 65.12 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1584, allocations: 77.11 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1584, allocations: 3.938 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.1584, allocations: 0 / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1584, allocations: 7.938 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1585, allocations: 4 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.401e-05/0.1585, allocations: 75.28 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1585, allocations: 0 / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.1587, allocations: 16 kB / 0.5911 GB, free: 14.95 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 (1): * Single equations (assignments): 1 * 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.0004132/0.1591, allocations: 0.6088 MB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.562e-05/0.1592, allocations: 11.97 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1592, allocations: 0 / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.1592, allocations: 7.938 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1593, allocations: 7.656 kB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1596, allocations: 112.3 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1598, allocations: 0.677 MB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.041e-05/0.1599, allocations: 0 / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.1599, allocations: 7.438 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1599, allocations: 128 / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.2728, allocations: 0.9466 MB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/0.2731, allocations: 190.6 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.932, allocations: 0 / 0.5936 GB, free: 12.36 MB / 0.4981 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/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)