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.005388/0.005388, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001299/0.001299, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.844/0.844, allocations: 135.6 MB / 426.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 73.5 kB / 0.5858 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1679, allocations: 81.03 MB / 0.6649 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001612/0.1696, allocations: 0.5681 MB / 0.6655 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004911/0.1701, allocations: 206.2 kB / 0.6657 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.1701, allocations: 4 kB / 0.6657 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.1701, allocations: 0 / 0.6657 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.1701, allocations: 0 / 0.6657 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1705, allocations: 55.81 kB / 0.6657 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.845e-05/0.1705, allocations: 0 / 0.6657 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.1706, allocations: 8 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.1706, allocations: 0 / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.1706, allocations: 4 kB / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1706, allocations: 0 / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1708, allocations: 63.86 kB / 0.6658 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.1708, allocations: 0 / 0.6658 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.1709, allocations: 4 kB / 0.6658 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.171, allocations: 40.09 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.171, allocations: 0 / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.171, allocations: 0 / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.171, allocations: 0 / 0.6658 GB, free: 4.648 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.0003092/0.1713, allocations: 315.5 kB / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1714, allocations: 13.11 kB / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1714, allocations: 38.73 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.93e-05/0.1714, allocations: 0.9375 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1715, allocations: 164.4 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.1715, allocations: 384 / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-06/0.1716, allocations: 384 / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.1717, allocations: 30.2 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1717, allocations: 3.938 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.1717, allocations: 0 / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1717, allocations: 4 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.1717, allocations: 4 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1719, allocations: 149.7 kB / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.1719, allocations: 18.61 kB / 0.6665 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.172, allocations: 4.859 kB / 0.6665 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.1727, allocations: 461.5 kB / 0.667 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1728, allocations: 42.5 kB / 0.667 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.1728, allocations: 0 / 0.667 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.1729, allocations: 33.64 kB / 0.6671 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.173, allocations: 51.41 kB / 0.6671 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.173, allocations: 89.86 kB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.173, allocations: 25.83 kB / 0.6672 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.1731, allocations: 84.14 kB / 0.6673 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1731, allocations: 3.984 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.1731, allocations: 13.72 kB / 0.6673 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1733, allocations: 314.8 kB / 0.6676 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.1733, allocations: 0 / 0.6676 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.1733, allocations: 3.938 kB / 0.6676 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.1733, allocations: 12.8 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1733, allocations: 4.062 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.973e-05/0.1734, allocations: 33.66 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1734, allocations: 11.98 kB / 0.6677 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1734, allocations: 3.938 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1734, allocations: 0 / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.1735, allocations: 0 / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1735, allocations: 7.984 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-06/0.1735, allocations: 0 / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.1735, allocations: 0 / 0.6677 GB, free: 2.418 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.578e-05/0.1736, allocations: 113.9 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.1736, allocations: 0 / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.1737, allocations: 44.69 kB / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1737, allocations: 0 / 0.6678 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1737, allocations: 4 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1737, allocations: 0 / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1738, allocations: 145.7 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1738, allocations: 0 / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.1738, allocations: 0 / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1738, allocations: 4.031 kB / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.1739, allocations: 11.92 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1739, allocations: 0 / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1739, allocations: 0 / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.504e-05/0.1739, allocations: 57.08 kB / 0.668 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.174, allocations: 81.11 kB / 0.6681 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.174, allocations: 3.938 kB / 0.6681 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.174, allocations: 0 / 0.6681 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.174, allocations: 8.016 kB / 0.6681 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.174, allocations: 0 / 0.6681 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.1741, allocations: 75.28 kB / 0.6682 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 3.938 kB / 0.6682 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1743, allocations: 19.94 kB / 0.6682 GB, free: 1.75 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.0004426/0.1747, allocations: 0.6124 MB / 0.6688 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.1748, allocations: 7.938 kB / 0.6688 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1748, allocations: 0 / 0.6688 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/0.1748, allocations: 7.922 kB / 0.6688 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1749, allocations: 7.984 kB / 0.6689 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.1752, allocations: 114.7 kB / 0.669 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1755, allocations: 0.669 MB / 0.6696 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.1755, allocations: 7.984 kB / 0.6696 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.1755, allocations: 7.438 kB / 0.6696 GB, free: 224 kB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1755, allocations: 0 / 0.6696 GB, free: 224 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.1982, allocations: 1.131 MB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.829, allocations: 13.39 kB / 0.6707 GB, free: 15.15 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)