Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_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.001378/0.001377, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001585/0.001585, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.039/2.039, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.346/1.346, allocations: 132.2 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005415, allocations: 12.72 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7872, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009907/0.7883, allocations: 312.6 kB / 0.5833 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005742/0.7889, allocations: 180.5 kB / 0.5834 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.7889, allocations: 0 / 0.5834 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.7889, allocations: 4 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.7889, allocations: 1.156 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.7894, allocations: 43.31 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.7895, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.7895, allocations: 1.328 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.7896, allocations: 0.7812 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.7896, allocations: 2 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.7896, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.7899, allocations: 66.55 kB / 0.5836 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.7899, allocations: 0 / 0.5836 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.79, allocations: 30.55 kB / 0.5836 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.7901, allocations: 25.06 kB / 0.5836 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7901, allocations: 0 / 0.5836 GB, free: 3.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7901, allocations: 0 / 0.5836 GB, free: 3.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.7901, allocations: 5.094 kB / 0.5836 GB, free: 3.613 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002994/0.7905, allocations: 315.4 kB / 0.5839 GB, free: 3.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.7905, allocations: 9.719 kB / 0.5839 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.7906, allocations: 31.94 kB / 0.584 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.7906, allocations: 0 / 0.584 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.979e-05/0.7907, allocations: 164.5 kB / 0.5841 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.7907, allocations: 5.312 kB / 0.5841 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.7907, allocations: 0 / 0.5841 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.7909, allocations: 29.05 kB / 0.5841 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7909, allocations: 0.75 kB / 0.5842 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7909, allocations: 0 / 0.5842 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.7909, allocations: 0 / 0.5842 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.7909, allocations: 5.25 kB / 0.5842 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.7911, allocations: 152.9 kB / 0.5843 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.7912, allocations: 20.08 kB / 0.5843 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009756/0.7922, allocations: 463.8 kB / 0.5848 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7922, allocations: 31.38 kB / 0.5848 GB, free: 2.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.7922, allocations: 1.125 kB / 0.5848 GB, free: 2.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.7924, allocations: 39.89 kB / 0.5848 GB, free: 2.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.7924, allocations: 52.06 kB / 0.5849 GB, free: 2.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.286e-05/0.7925, allocations: 89.86 kB / 0.585 GB, free: 2.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.7925, allocations: 26.77 kB / 0.585 GB, free: 2.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.7925, allocations: 82.62 kB / 0.5851 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.7925, allocations: 9.969 kB / 0.5851 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7925, allocations: 0 / 0.5851 GB, free: 1.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.7926, allocations: 311.5 kB / 0.5854 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.7927, allocations: 4.906 kB / 0.5854 GB, free: 1.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.7927, allocations: 1.25 kB / 0.5854 GB, free: 1.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.7927, allocations: 6.219 kB / 0.5854 GB, free: 1.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7927, allocations: 0 / 0.5854 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.66e-05/0.7928, allocations: 36.34 kB / 0.5854 GB, free: 1.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7928, allocations: 6.266 kB / 0.5854 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7928, allocations: 0 / 0.5854 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7929, allocations: 0 / 0.5854 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.7929, allocations: 3.406 kB / 0.5854 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.793, allocations: 4.094 kB / 0.5854 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.793, allocations: 0 / 0.5854 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.793, allocations: 2.219 kB / 0.5854 GB, free: 1.57 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 (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 7.623e-05/0.7931, allocations: 115.2 kB / 0.5855 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.7931, allocations: 0.5625 kB / 0.5856 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7932, allocations: 38.86 kB / 0.5856 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7932, allocations: 2.125 kB / 0.5856 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7933, allocations: 7.875 kB / 0.5856 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7933, allocations: 4.031 kB / 0.5856 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.365e-05/0.7934, allocations: 144.9 kB / 0.5857 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7934, allocations: 3.953 kB / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.7934, allocations: 3.453 kB / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7934, allocations: 0 / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.7934, allocations: 0 / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7934, allocations: 1.141 kB / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7934, allocations: 0.8438 kB / 0.5857 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.7935, allocations: 65.16 kB / 0.5858 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.7936, allocations: 81.77 kB / 0.5859 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.7936, allocations: 1.797 kB / 0.5859 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.7936, allocations: 0 / 0.5859 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.7937, allocations: 1.875 kB / 0.5859 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.7937, allocations: 3.984 kB / 0.5859 GB, free: 1.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.799e-05/0.7937, allocations: 75.28 kB / 0.586 GB, free: 0.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7937, allocations: 1 kB / 0.586 GB, free: 0.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.7941, allocations: 14.97 kB / 0.586 GB, free: 0.9531 MB / 430.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 (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.0005479/0.7947, allocations: 0.6234 MB / 0.5866 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.7948, allocations: 8.062 kB / 0.5866 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7948, allocations: 0 / 0.5866 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.7948, allocations: 6.344 kB / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.795, allocations: 4.359 kB / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.7954, allocations: 106.4 kB / 0.5867 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.7959, allocations: 0.6743 MB / 0.5874 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.762e-05/0.7959, allocations: 0.7031 kB / 0.5874 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.7959, allocations: 8.219 kB / 0.5874 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7959, allocations: 128 / 0.5874 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.8148, allocations: 0.9444 MB / 0.5883 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.8152, allocations: 170.7 kB / 0.5885 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.477, allocations: 0 / 0.5885 GB, free: 15.13 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: