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.006066/0.006066, allocations: 101.8 kB / 15.73 MB, free: 6 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.001023/0.001024, allocations: 197.3 kB / 16.67 MB, free: 5.926 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.293/1.293, 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.7763/0.7763, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.28 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1619, allocations: 80.93 MB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001901/0.1639, allocations: 0.5708 MB / 0.6648 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.1644, allocations: 202.3 kB / 0.6649 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.1644, allocations: 0 / 0.6649 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.1645, allocations: 0 / 0.6649 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.1645, allocations: 3.938 kB / 0.6649 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1649, allocations: 55.83 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.1649, allocations: 0 / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.165, allocations: 3.984 kB / 0.665 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.322e-05/0.165, allocations: 4 kB / 0.665 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.165, allocations: 0 / 0.665 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.165, allocations: 4 kB / 0.665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.1652, allocations: 55.94 kB / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.1652, allocations: 0 / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.1652, allocations: 0 / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1654, allocations: 47.81 kB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1654, allocations: 3.938 kB / 0.6651 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1654, allocations: 0 / 0.6651 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1654, allocations: 0 / 0.6651 GB, free: 5.285 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.0003204/0.1657, allocations: 323.6 kB / 0.6654 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1658, allocations: 13.11 kB / 0.6654 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1658, allocations: 30.75 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1658, allocations: 0.9375 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1659, allocations: 164.4 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1659, allocations: 384 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.166, allocations: 4.359 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.1661, allocations: 34.25 kB / 0.6657 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1661, allocations: 3.938 kB / 0.6657 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1661, allocations: 0 / 0.6657 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1661, allocations: 4 kB / 0.6657 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.1661, allocations: 3.938 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1663, allocations: 145.7 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.1663, allocations: 18.58 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.1663, allocations: 4.859 kB / 0.6658 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.1671, allocations: 461.5 kB / 0.6663 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1671, allocations: 30.56 kB / 0.6663 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1671, allocations: 0 / 0.6663 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001467/0.1673, allocations: 45.56 kB / 0.6663 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1673, allocations: 51.41 kB / 0.6664 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.382e-05/0.1674, allocations: 89.98 kB / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1674, allocations: 29.7 kB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.1674, allocations: 84.14 kB / 0.6666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1675, allocations: 0 / 0.6666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1675, allocations: 9.719 kB / 0.6666 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1676, allocations: 314.8 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1676, allocations: 4 kB / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.1676, allocations: 0 / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.1677, allocations: 20.84 kB / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1677, allocations: 0 / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.978e-05/0.1677, allocations: 33.64 kB / 0.667 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1678, allocations: 4 kB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1678, allocations: 3.938 kB / 0.667 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1678, allocations: 0 / 0.667 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.1678, allocations: 4 kB / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1678, allocations: 0 / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.1679, allocations: 0 / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1679, allocations: 4 kB / 0.667 GB, free: 3.059 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 6.525e-05/0.1679, allocations: 113.9 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.168, allocations: 11.92 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.168, allocations: 40.7 kB / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.168, allocations: 0 / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.168, allocations: 0 / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1681, allocations: 0 / 0.6671 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.01e-05/0.1682, allocations: 145.7 kB / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1682, allocations: 0 / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.1682, allocations: 4 kB / 0.6673 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1682, allocations: 4.031 kB / 0.6673 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1682, allocations: 3.938 kB / 0.6673 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1682, allocations: 0 / 0.6673 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1682, allocations: 0 / 0.6673 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.461e-05/0.1683, allocations: 61.12 kB / 0.6673 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1683, allocations: 81.02 kB / 0.6674 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1683, allocations: 3.938 kB / 0.6674 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.1684, allocations: 4.031 kB / 0.6674 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1684, allocations: 0 / 0.6674 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1684, allocations: 4 kB / 0.6674 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.1684, allocations: 79.22 kB / 0.6675 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1684, allocations: 0 / 0.6675 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001904/0.1686, allocations: 8 kB / 0.6675 GB, free: 2.398 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.000421/0.169, allocations: 0.627 MB / 0.6681 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.095e-05/0.1691, allocations: 8 kB / 0.6681 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1691, allocations: 0 / 0.6681 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.1691, allocations: 11.88 kB / 0.6681 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1693, allocations: 6.031 kB / 0.6681 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.1696, allocations: 114.6 kB / 0.6683 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1698, allocations: 0.6729 MB / 0.6689 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.041e-05/0.1699, allocations: 0 / 0.6689 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.1699, allocations: 11.44 kB / 0.6689 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1699, allocations: 0 / 0.6689 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1871, allocations: 1.142 MB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.339, allocations: 0.5938 kB / 0.67 GB, free: 15.79 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)