Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001206/0.001206, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009122/0.009122, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6664/0.6664, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 12 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3362, allocations: 81.56 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001241/0.3375, allocations: 1.164 MB / 0.5849 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.3379, allocations: 259.4 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.338, allocations: 1 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.338, allocations: 0 / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.338, allocations: 5.234 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.3383, allocations: 44.19 kB / 0.5852 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.3384, allocations: 19.31 kB / 0.5852 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.3384, allocations: 12.38 kB / 0.5852 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.3385, allocations: 12.8 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.3385, allocations: 7.203 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.3385, allocations: 0 / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3387, allocations: 67.2 kB / 0.5853 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.3387, allocations: 2.344 kB / 0.5853 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.3387, allocations: 40.41 kB / 0.5853 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.3389, allocations: 56.94 kB / 0.5854 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3389, allocations: 0 / 0.5854 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3389, allocations: 1.031 kB / 0.5854 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.3389, allocations: 0 / 0.5854 GB, free: 2.898 MB / 430.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.0003344/0.3392, allocations: 354.4 kB / 0.5857 GB, free: 2.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3393, allocations: 13.09 kB / 0.5857 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.3393, allocations: 36.19 kB / 0.5858 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.3393, allocations: 2.734 kB / 0.5858 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.254e-05/0.3394, allocations: 163.1 kB / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3394, allocations: 5.359 kB / 0.5859 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3394, allocations: 1.531 kB / 0.5859 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3396, allocations: 57.95 kB / 0.586 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3396, allocations: 3.938 kB / 0.586 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3396, allocations: 5.344 kB / 0.586 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3397, allocations: 0.75 kB / 0.586 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3398, allocations: 41.61 kB / 0.586 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.3401, allocations: 258.5 kB / 0.5863 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3402, allocations: 46.23 kB / 0.5863 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.3403, allocations: 31.89 kB / 0.5864 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.3408, allocations: 459.5 kB / 0.5868 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.3408, allocations: 36.12 kB / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.3409, allocations: 0 / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.3412, allocations: 98.78 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.3412, allocations: 52.16 kB / 0.587 GB, free: 1.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.3413, allocations: 101 kB / 0.5871 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.3413, allocations: 30.48 kB / 0.5871 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.3413, allocations: 81.69 kB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.3413, allocations: 9.25 kB / 0.5872 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.3414, allocations: 10.75 kB / 0.5872 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.872e-05/0.3414, allocations: 316.6 kB / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.3415, allocations: 23.88 kB / 0.5875 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.3416, allocations: 23.16 kB / 0.5875 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3417, allocations: 46.12 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3418, allocations: 4.875 kB / 0.5876 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.3419, allocations: 76.39 kB / 0.5877 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.342, allocations: 9.062 kB / 0.5877 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.342, allocations: 2.25 kB / 0.5877 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.342, allocations: 0 / 0.5877 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.3421, allocations: 14.73 kB / 0.5877 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3421, allocations: 4.969 kB / 0.5877 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3421, allocations: 12.92 kB / 0.5877 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3421, allocations: 0.9688 kB / 0.5877 GB, free: 0.6445 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.3422, allocations: 113 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.3422, allocations: 1.875 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.3424, allocations: 84.55 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3425, allocations: 0.6875 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3425, allocations: 1.984 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3425, allocations: 0 / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3426, allocations: 164.5 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3426, allocations: 0 / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.3426, allocations: 15.06 kB / 0.5881 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3427, allocations: 0 / 0.5881 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3427, allocations: 1.312 kB / 0.5881 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3427, allocations: 1.188 kB / 0.5881 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3427, allocations: 3.938 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3429, allocations: 180.4 kB / 0.5882 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.3429, allocations: 78.61 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3429, allocations: 1.188 kB / 0.5883 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.343, allocations: 12.52 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.343, allocations: 3.453 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3431, allocations: 4.75 kB / 0.5883 GB, free: 24 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.3431, allocations: 84.19 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3431, allocations: 0 / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3433, allocations: 14.41 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB 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 (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.0005549/0.3439, allocations: 0.727 MB / 0.5891 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3441, allocations: 50.14 kB / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3441, allocations: 0 / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.3442, allocations: 21.28 kB / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3444, allocations: 8.344 kB / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.3448, allocations: 153.9 kB / 0.5894 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.345, allocations: 0.6765 MB / 0.59 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.345, allocations: 0.5938 kB / 0.59 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3451, allocations: 12.8 kB / 0.59 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3451, allocations: 0.5938 kB / 0.59 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.5569, allocations: 1.229 MB / 0.5912 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.5572, allocations: 180.5 kB / 0.5914 GB, free: 13.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.348, allocations: 4.5 kB / 0.5914 GB, free: 13.98 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)