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.00526/0.00526, allocations: 102 kB / 15.73 MB, free: 6.035 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.001769/0.001769, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8098/0.8098, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 69.44 kB / 0.5852 GB, free: 22.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1684, allocations: 80.93 MB / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001772/0.1702, allocations: 0.5681 MB / 0.6648 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004843/0.1707, allocations: 206.2 kB / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.1707, allocations: 0 / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.1707, allocations: 0 / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1708, allocations: 0 / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1712, allocations: 55.83 kB / 0.665 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.663e-05/0.1712, allocations: 4 kB / 0.665 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.1712, allocations: 3.984 kB / 0.665 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.1713, allocations: 4 kB / 0.665 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.1713, allocations: 0 / 0.665 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-06/0.1713, allocations: 4 kB / 0.665 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1715, allocations: 55.89 kB / 0.6651 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.1715, allocations: 4 kB / 0.6651 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.1715, allocations: 3.984 kB / 0.6651 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.1716, allocations: 31.89 kB / 0.6651 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1716, allocations: 0 / 0.6651 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1716, allocations: 0 / 0.6651 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1717, allocations: 3.938 kB / 0.6651 GB, free: 5.422 MB / 0.4981 GB 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.0003212/0.172, allocations: 327.6 kB / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.172, allocations: 13.11 kB / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.1721, allocations: 30.75 kB / 0.6655 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1721, allocations: 0.9375 kB / 0.6655 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1722, allocations: 164.4 kB / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1722, allocations: 384 / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1723, allocations: 4.375 kB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.1724, allocations: 30.2 kB / 0.6657 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1724, allocations: 3.938 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1724, allocations: 0 / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1724, allocations: 0 / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.1724, allocations: 8 kB / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1726, allocations: 145.7 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.1726, allocations: 18.56 kB / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.1726, allocations: 8.953 kB / 0.6658 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/0.1735, allocations: 453.5 kB / 0.6663 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.1735, allocations: 46.47 kB / 0.6663 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1735, allocations: 0 / 0.6663 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.1737, allocations: 33.64 kB / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1737, allocations: 55.41 kB / 0.6664 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.1738, allocations: 89.86 kB / 0.6665 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1738, allocations: 25.7 kB / 0.6665 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.1739, allocations: 84.27 kB / 0.6666 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1739, allocations: 0 / 0.6666 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1739, allocations: 13.72 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.174, allocations: 318.8 kB / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.1741, allocations: 0 / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.1741, allocations: 0 / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.1741, allocations: 12.8 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1741, allocations: 4.062 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.712e-05/0.1742, allocations: 33.64 kB / 0.667 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1742, allocations: 4 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.1742, allocations: 11.94 kB / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1742, allocations: 0 / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.1743, allocations: 0 / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1743, allocations: 0 / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.1743, allocations: 3.984 kB / 0.667 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1743, allocations: 0 / 0.667 GB, free: 3.191 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.808e-05/0.1744, allocations: 117.9 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.1744, allocations: 0 / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.282e-05/0.1745, allocations: 40.7 kB / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1746, allocations: 3.938 kB / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1746, allocations: 0 / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.1746, allocations: 0 / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1747, allocations: 157.7 kB / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1747, allocations: 0 / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.1747, allocations: 0 / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1747, allocations: 0 / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1747, allocations: 7.969 kB / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1747, allocations: 0 / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1747, allocations: 4 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.1748, allocations: 57.06 kB / 0.6673 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1749, allocations: 81.02 kB / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1749, allocations: 3.938 kB / 0.6674 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.1749, allocations: 0 / 0.6674 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.1749, allocations: 12.03 kB / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.1749, allocations: 0 / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.175, allocations: 75.28 kB / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.175, allocations: 0 / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002237/0.1752, allocations: 15.98 kB / 0.6675 GB, free: 2.52 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.0004862/0.1757, allocations: 0.6165 MB / 0.6681 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.1758, allocations: 7.938 kB / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1758, allocations: 0 / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.1758, allocations: 0 / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1759, allocations: 1.719 kB / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.1763, allocations: 130.6 kB / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1766, allocations: 0.669 MB / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.073e-05/0.1766, allocations: 0 / 0.6689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.1766, allocations: 7.438 kB / 0.6689 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1766, allocations: 0 / 0.6689 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.1941, allocations: 1.147 MB / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.387, allocations: 6.906 kB / 0.67 GB, free: 15.92 MB / 0.5137 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/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)