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.00103/0.00103, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001259/0.001259, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9112/0.9112, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 12 kB / 0.5071 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 82.32 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001631/0.1531, allocations: 1.14 MB / 0.5886 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004494/0.1536, allocations: 226 kB / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1537, allocations: 0 / 0.5888 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.1537, allocations: 3.938 kB / 0.5888 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.1537, allocations: 0 / 0.5888 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.154, allocations: 43.89 kB / 0.5888 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.1541, allocations: 19.94 kB / 0.5889 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.1541, allocations: 15.97 kB / 0.5889 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.1542, allocations: 0 / 0.5889 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.1542, allocations: 15.92 kB / 0.5889 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.1542, allocations: 0 / 0.5889 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1544, allocations: 59.89 kB / 0.5889 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-06/0.1544, allocations: 4 kB / 0.5889 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.1544, allocations: 25.7 kB / 0.589 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.1545, allocations: 39.92 kB / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1545, allocations: 0 / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1545, allocations: 0 / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1545, allocations: 7.938 kB / 0.589 GB, free: 1.41 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.0003677/0.1549, allocations: 343.5 kB / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1549, allocations: 8.031 kB / 0.5894 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.155, allocations: 34.56 kB / 0.5894 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.155, allocations: 4 kB / 0.5894 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.797e-05/0.1551, allocations: 174.9 kB / 0.5896 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1551, allocations: 0 / 0.5896 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.1551, allocations: 8 kB / 0.5896 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1553, allocations: 53.69 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1553, allocations: 3.984 kB / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1553, allocations: 0 / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1553, allocations: 0 / 0.5896 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1555, allocations: 43.97 kB / 0.5897 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1558, allocations: 252.9 kB / 0.5899 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1559, allocations: 46.5 kB / 0.5899 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.156, allocations: 28.91 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.1565, allocations: 453.5 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1566, allocations: 34.56 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1566, allocations: 0 / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003247/0.1569, allocations: 105.6 kB / 0.5905 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.157, allocations: 55.41 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.157, allocations: 101.8 kB / 0.5907 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.157, allocations: 25.7 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1571, allocations: 84.12 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1571, allocations: 7.906 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.1571, allocations: 4 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.1572, allocations: 310.8 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1573, allocations: 20.02 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1573, allocations: 23.98 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.1574, allocations: 24.03 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1574, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.1576, allocations: 81.61 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1576, allocations: 4 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1576, allocations: 0 / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1577, allocations: 8.016 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.1577, allocations: 11.94 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1577, allocations: 0 / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.1578, allocations: 11.98 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1578, allocations: 3.953 kB / 0.5913 GB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.1579, allocations: 105.8 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1579, allocations: 4 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1581, allocations: 84.78 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1581, allocations: 0 / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1581, allocations: 0 / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1581, allocations: 3.984 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.1583, allocations: 161.6 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1583, allocations: 7.938 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1583, allocations: 11.98 kB / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1583, allocations: 0 / 0.5916 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1584, allocations: 4 kB / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1584, allocations: 0 / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1584, allocations: 0 / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1586, allocations: 179.6 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1586, allocations: 81.09 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.1586, allocations: 0 / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1587, allocations: 11.98 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.1587, allocations: 7.969 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1588, allocations: 8 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.1588, allocations: 79.28 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1588, allocations: 0 / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002321/0.159, allocations: 23.98 kB / 0.592 GB, free: 13.91 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 (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.0005036/0.1595, allocations: 0.7202 MB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1597, allocations: 51.98 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1598, allocations: 0 / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.1598, allocations: 23.92 kB / 0.5928 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1601, allocations: 8.125 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.1604, allocations: 150.2 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1606, allocations: 0.677 MB / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2e-05/0.1606, allocations: 0 / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1607, allocations: 11.44 kB / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1607, allocations: 0 / 0.5936 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009579/0.1703, allocations: 1.249 MB / 0.5948 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1705, allocations: 168.2 kB / 0.595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.779, allocations: 0 / 0.595 GB, free: 10.82 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/linux/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) Environment - environmentSimulation: