Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9984/0.9984, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7901/0.7901, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.206e-05, allocations: 2.312 kB / 480.1 MB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001905/0.001927, allocations: 0.6519 MB / 480.8 MB, free: 6.156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005021/0.002429, allocations: 171.6 kB / 480.9 MB, free: 5.992 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.002445, allocations: 0.625 kB / 480.9 MB, free: 5.992 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.002461, allocations: 0 / 480.9 MB, free: 5.992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.002468, allocations: 3.781 kB / 480.9 MB, free: 5.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.002858, allocations: 48.69 kB / 481 MB, free: 5.945 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.002909, allocations: 0 / 481 MB, free: 5.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.002954, allocations: 0 / 481 MB, free: 5.945 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.002992, allocations: 4.656 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.003023, allocations: 0 / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.003035, allocations: 0 / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.00327, allocations: 73 kB / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.003283, allocations: 0 / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.079e-05/0.003294, allocations: 1.5 kB / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003415, allocations: 40.83 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003417, allocations: 0 / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003418, allocations: 4 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003422, allocations: 1.859 kB / 481.1 MB, free: 5.828 MB / 442.7 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.0002153/0.003637, allocations: 208.7 kB / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.003674, allocations: 12.03 kB / 481.3 MB, free: 5.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.003701, allocations: 6.672 kB / 481.3 MB, free: 5.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.459e-05/0.003766, allocations: 105.7 kB / 481.4 MB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003776, allocations: 1 kB / 481.4 MB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-06/0.003782, allocations: 4.922 kB / 481.4 MB, free: 5.449 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.003855, allocations: 34.83 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003863, allocations: 0.8125 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.00387, allocations: 0.9844 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.003875, allocations: 1 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.003889, allocations: 9.766 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.066e-05/0.00397, allocations: 60.77 kB / 481.5 MB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.004008, allocations: 19.23 kB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.004023, allocations: 10.27 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/0.004406, allocations: 73.48 kB / 481.6 MB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.004432, allocations: 39.41 kB / 481.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.004433, allocations: 0 / 481.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.773e-05/0.004521, allocations: 30.7 kB / 481.7 MB, free: 5.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00455, allocations: 55.39 kB / 481.8 MB, free: 5.074 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.384e-05/0.004584, allocations: 94.48 kB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.004594, allocations: 25.7 kB / 481.9 MB, free: 4.941 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.004616, allocations: 82.11 kB / 482 MB, free: 4.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.004647, allocations: 4 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.004673, allocations: 9.719 kB / 482 MB, free: 4.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.004862, allocations: 314.8 kB / 482.3 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.004869, allocations: 4.656 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.004875, allocations: 1.219 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.004896, allocations: 9.562 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004898, allocations: 5.062 kB / 482.3 MB, free: 4.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.26e-05/0.004951, allocations: 37.69 kB / 482.3 MB, free: 4.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004963, allocations: 4 kB / 482.3 MB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004968, allocations: 1.656 kB / 482.3 MB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004981, allocations: 0 / 482.3 MB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/0.005016, allocations: 4.719 kB / 482.3 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.005019, allocations: 0.7656 kB / 482.3 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-06/0.005029, allocations: 0.5938 kB / 482.3 MB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.005034, allocations: 1.438 kB / 482.3 MB, free: 4.453 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.005098, allocations: 109.8 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.005105, allocations: 4 kB / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.005165, allocations: 38.12 kB / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005167, allocations: 0 / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005169, allocations: 6.547 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005173, allocations: 3.938 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.856e-05/0.005231, allocations: 65.83 kB / 482.6 MB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005233, allocations: 0 / 482.6 MB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.005244, allocations: 7.984 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005246, allocations: 0.5469 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.00525, allocations: 0.6562 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005252, allocations: 0.75 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005252, allocations: 0 / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.829e-05/0.005311, allocations: 61.52 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-06/0.005315, allocations: 1.359 kB / 482.6 MB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005325, allocations: 7.984 kB / 482.7 MB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.005332, allocations: 5.219 kB / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.005343, allocations: 0 / 482.7 MB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.005347, allocations: 4 kB / 482.7 MB, free: 4.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.214e-06/0.005354, allocations: 5.797 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005354, allocations: 0 / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.005513, allocations: 9.312 kB / 482.7 MB, free: 4.09 MB / 442.7 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 (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.0001694/0.005683, allocations: 103.1 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.435e-05/0.005737, allocations: 6.766 kB / 482.8 MB, free: 3.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.00574, allocations: 4 kB / 482.8 MB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.005747, allocations: 8.797 kB / 482.8 MB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.518e-05/0.005802, allocations: 3.938 kB / 482.8 MB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.00596, allocations: 86.5 kB / 482.9 MB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.005989, allocations: 51.36 kB / 482.9 MB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.588e-06/0.005998, allocations: 0 / 482.9 MB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.006024, allocations: 51.38 kB / 483 MB, free: 3.723 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006025, allocations: 0 / 483 MB, free: 3.723 MB / 442.7 MB Notification: Performance of Templates: time 0.002333/0.008358, allocations: 476.9 kB / 483.4 MB, free: 3.277 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.607036318164319]