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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001464/0.001464, allocations: 168.7 kB / 15.95 MB, free: 204 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.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9318/0.9318, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12.5 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006884/0.1508, allocations: 303.1 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004066/0.1512, allocations: 171.6 kB / 0.5879 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.1512, allocations: 0 / 0.5879 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.1512, allocations: 3.938 kB / 0.5879 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.1513, allocations: 4 kB / 0.5879 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1516, allocations: 39.91 kB / 0.588 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.313e-05/0.1516, allocations: 11.98 kB / 0.588 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1517, allocations: 0 / 0.588 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.1517, allocations: 3.984 kB / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.1517, allocations: 0 / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.1517, allocations: 0 / 0.588 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1519, allocations: 55.89 kB / 0.588 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.1519, allocations: 7.938 kB / 0.5881 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1519, allocations: 33.69 kB / 0.5881 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.242e-05/0.152, allocations: 31.89 kB / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.152, allocations: 0 / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.152, allocations: 0 / 0.5881 GB, free: 2.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.152, allocations: 0 / 0.5881 GB, free: 2.191 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.0002318/0.1523, allocations: 311.4 kB / 0.5884 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1523, allocations: 8.031 kB / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.1523, allocations: 34.56 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.672e-05/0.1524, allocations: 4 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.1524, allocations: 167 kB / 0.5886 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1525, allocations: 4 kB / 0.5886 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1525, allocations: 4 kB / 0.5886 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.512e-05/0.1526, allocations: 25.7 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1526, allocations: 4 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.1526, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1526, allocations: 0 / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.515e-05/0.1526, allocations: 3.938 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.1527, allocations: 149.6 kB / 0.5888 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.1528, allocations: 26.61 kB / 0.5888 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.1528, allocations: 4.859 kB / 0.5888 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.1535, allocations: 457.5 kB / 0.5893 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1535, allocations: 38.56 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1535, allocations: 0 / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.1536, allocations: 33.64 kB / 0.5893 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1537, allocations: 51.41 kB / 0.5894 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.876e-05/0.1537, allocations: 89.86 kB / 0.5895 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1537, allocations: 25.7 kB / 0.5895 GB, free: 492 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.1537, allocations: 80.14 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1538, allocations: 9.562 kB / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.1538, allocations: 0 / 0.5896 GB, free: 400 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1539, allocations: 315 kB / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.1539, allocations: 3.984 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.1539, allocations: 7.938 kB / 0.5899 GB, free: 64 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.1539, allocations: 7.953 kB / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1539, allocations: 0 / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.653e-05/0.154, allocations: 37.58 kB / 0.5899 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.154, allocations: 4 kB / 0.5899 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.154, allocations: 3.984 kB / 0.5899 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.154, allocations: 4.156 kB / 0.5899 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.1541, allocations: 7.984 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1541, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-06/0.1541, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1541, allocations: 0 / 0.59 GB, free: 15.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.1542, allocations: 117.8 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-06/0.1542, allocations: 0 / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.1543, allocations: 36.83 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1543, allocations: 0 / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1543, allocations: 7.969 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1543, allocations: 0 / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.638e-05/0.1544, allocations: 149.7 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1544, allocations: 3.953 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.1544, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1544, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1544, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1544, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1544, allocations: 0 / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.273e-05/0.1545, allocations: 65.12 kB / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1546, allocations: 81.06 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.1546, allocations: 0 / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.1546, allocations: 0 / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1546, allocations: 7.938 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.1546, allocations: 0 / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.1546, allocations: 75.28 kB / 0.5905 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 0.5905 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001952/0.1548, allocations: 12 kB / 0.5905 GB, free: 15.34 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 (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.0004015/0.1553, allocations: 0.6166 MB / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.996e-05/0.1553, allocations: 8.031 kB / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1553, allocations: 0 / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1553, allocations: 7.938 kB / 0.5911 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1555, allocations: 4 kB / 0.5911 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.1557, allocations: 108.3 kB / 0.5912 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.156, allocations: 0.6808 MB / 0.5919 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.156, allocations: 4 kB / 0.5919 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.156, allocations: 7.438 kB / 0.5919 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.156, allocations: 4.125 kB / 0.5919 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009799/0.1658, allocations: 0.9497 MB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.166, allocations: 179.3 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.737, allocations: 4 kB / 0.593 GB, free: 12.77 MB / 0.4981 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) Environment - environmentSimulation: