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.001026/0.001026, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001015/0.001015, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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 1.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8657/0.8657, allocations: 154.6 MB / 415.6 MB, free: 0.5312 MB / 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 / 0.5216 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.479e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001185/0.00121, allocations: 0.6009 MB / 0.5222 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.001549, allocations: 174.3 kB / 0.5223 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.001566, allocations: 0.9062 kB / 0.5223 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.001581, allocations: 0 / 0.5223 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.001587, allocations: 0.5625 kB / 0.5223 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.001907, allocations: 55.75 kB / 0.5224 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.001944, allocations: 0.6562 kB / 0.5224 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.001985, allocations: 4.625 kB / 0.5224 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.002009, allocations: 3.984 kB / 0.5224 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.002029, allocations: 0.7812 kB / 0.5224 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.002037, allocations: 0 / 0.5224 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.002172, allocations: 52.92 kB / 0.5225 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.002184, allocations: 7.984 kB / 0.5225 GB, free: 1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-06/0.002193, allocations: 0 / 0.5225 GB, free: 1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.002285, allocations: 41.62 kB / 0.5225 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002287, allocations: 0 / 0.5225 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.002288, allocations: 3.938 kB / 0.5225 GB, free: 0.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.002291, allocations: 0 / 0.5225 GB, free: 0.957 MB / 490.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.0002247/0.002516, allocations: 348.3 kB / 0.5228 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.00255, allocations: 9.781 kB / 0.5228 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.002573, allocations: 4.938 kB / 0.5228 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.758e-05/0.00263, allocations: 112.6 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.002641, allocations: 384 / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-06/0.002645, allocations: 1.125 kB / 0.523 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.821e-05/0.002703, allocations: 30.27 kB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.00271, allocations: 1.594 kB / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.002716, allocations: 384 / 0.523 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.002721, allocations: 4.359 kB / 0.523 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.098e-05/0.002732, allocations: 7.875 kB / 0.523 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.805e-05/0.00281, allocations: 94.55 kB / 0.5231 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.684e-05/0.002847, allocations: 27.05 kB / 0.5231 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.057e-05/0.002857, allocations: 7.688 kB / 0.5231 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.003163, allocations: 80.02 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.003183, allocations: 33.39 kB / 0.5232 GB, free: 100 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.003185, allocations: 0 / 0.5232 GB, free: 100 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.93e-05/0.003284, allocations: 37.64 kB / 0.5233 GB, free: 56 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.003319, allocations: 51.41 kB / 0.5233 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.306e-05/0.003352, allocations: 142.8 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.003361, allocations: 25.7 kB / 0.5235 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.003389, allocations: 131.9 kB / 0.5236 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.003414, allocations: 0 / 0.5236 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.003435, allocations: 16.16 kB / 0.5236 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002469/0.003682, allocations: 0.4922 MB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.003689, allocations: 1.094 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.003693, allocations: 0 / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.003719, allocations: 12.72 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.003721, allocations: 4 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.074e-05/0.003762, allocations: 35.17 kB / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.003773, allocations: 4 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.003777, allocations: 0 / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.003785, allocations: 0 / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.003815, allocations: 8.969 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.003817, allocations: 0 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.003827, allocations: 0 / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.003833, allocations: 4.672 kB / 0.5242 GB, free: 15.07 MB / 0.4948 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 5.867e-05/0.003892, allocations: 164.5 kB / 0.5243 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.003896, allocations: 1.625 kB / 0.5243 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.003946, allocations: 40.23 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.003947, allocations: 0.8125 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.003948, allocations: 0 / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.003951, allocations: 0 / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.426e-05/0.004005, allocations: 105.9 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004006, allocations: 4 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.004013, allocations: 3.156 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004014, allocations: 0 / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-06/0.004017, allocations: 0 / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.004018, allocations: 0 / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004019, allocations: 0 / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.894e-05/0.004068, allocations: 76.38 kB / 0.5245 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-06/0.004071, allocations: 0 / 0.5245 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.004079, allocations: 4 kB / 0.5245 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-06/0.004082, allocations: 3.031 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.00409, allocations: 0 / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.004092, allocations: 3.938 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.004119, allocations: 119.2 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004119, allocations: 0 / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001311/0.00425, allocations: 12 kB / 0.5247 GB, free: 14.5 MB / 0.4948 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.0001321/0.004382, allocations: 116.7 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.186e-05/0.004434, allocations: 12.19 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.004435, allocations: 2.906 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-06/0.00444, allocations: 7.688 kB / 0.5248 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.19e-05/0.004532, allocations: 7.938 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001276/0.004659, allocations: 87.94 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.526e-05/0.004685, allocations: 55.36 kB / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.004695, allocations: 4 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.004722, allocations: 68.64 kB / 0.525 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.004722, allocations: 7.875 kB / 0.525 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.001913/0.006635, allocations: 481.6 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.79020125977695]