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.0009331/0.0009331, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.00108/0.00108, allocations: 173 kB / 23.02 MB, free: 1.539 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 1.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7974/0.7974, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 2.425e-06/2.425e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.291e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001982/0.002015, allocations: 0.5971 MB / 0.521 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004705/0.002486, allocations: 176 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.002501, allocations: 4 kB / 0.5211 GB, free: 1.387 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.002522, allocations: 0 / 0.5211 GB, free: 1.387 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.002528, allocations: 0.5625 kB / 0.5211 GB, free: 1.387 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.002957, allocations: 49.14 kB / 0.5212 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.003006, allocations: 4.703 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.00304, allocations: 1.031 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.003066, allocations: 4 kB / 0.5212 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.846e-05/0.003084, allocations: 0.9688 kB / 0.5212 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.003094, allocations: 3.938 kB / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.003277, allocations: 59.86 kB / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.00329, allocations: 0.625 kB / 0.5213 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.003306, allocations: 4 kB / 0.5213 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.003428, allocations: 33.3 kB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.003431, allocations: 3.938 kB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.003433, allocations: 0 / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003437, allocations: 0.5938 kB / 0.5213 GB, free: 1.23 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.0003172/0.003754, allocations: 348.4 kB / 0.5216 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.003796, allocations: 9.5 kB / 0.5216 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.00384, allocations: 0.9375 kB / 0.5216 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.003925, allocations: 116.5 kB / 0.5217 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.003939, allocations: 384 / 0.5217 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.00395, allocations: 1.031 kB / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.004042, allocations: 31.59 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.004054, allocations: 4.188 kB / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.004063, allocations: 384 / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.004072, allocations: 384 / 0.5218 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.004089, allocations: 4.688 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.00423, allocations: 117.1 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.401e-05/0.004274, allocations: 27 kB / 0.5219 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.004293, allocations: 8.625 kB / 0.5219 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/0.004746, allocations: 75.58 kB / 0.522 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.004774, allocations: 37.38 kB / 0.522 GB, free: 352 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.004775, allocations: 0 / 0.522 GB, free: 352 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.004907, allocations: 33.64 kB / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.004936, allocations: 55.41 kB / 0.5221 GB, free: 244 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.004982, allocations: 143.8 kB / 0.5223 GB, free: 88 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.004993, allocations: 25.7 kB / 0.5223 GB, free: 56 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.005049, allocations: 130.9 kB / 0.5224 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.005078, allocations: 0 / 0.5224 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.005108, allocations: 19.88 kB / 0.5224 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.005271, allocations: 0.4883 MB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005284, allocations: 1.031 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.005291, allocations: 0 / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.005334, allocations: 12.88 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005336, allocations: 0 / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.556e-05/0.005401, allocations: 38.2 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.005417, allocations: 8 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.005423, allocations: 1.031 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.005444, allocations: 3.984 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.005498, allocations: 4.969 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.005504, allocations: 0 / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.005517, allocations: 7.938 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.005526, allocations: 8.75 kB / 0.523 GB, free: 15.3 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 7.302e-05/0.005599, allocations: 155.3 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.005607, allocations: 352 / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.005699, allocations: 36.3 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.005702, allocations: 0 / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005705, allocations: 4 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005709, allocations: 3.938 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.005787, allocations: 120.5 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005789, allocations: 2.875 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.005805, allocations: 4 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005808, allocations: 0 / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.005813, allocations: 0 / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005814, allocations: 3.938 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005816, allocations: 0 / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.005893, allocations: 72.38 kB / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.005897, allocations: 1.438 kB / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.005906, allocations: 0 / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-06/0.005912, allocations: 0 / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.005928, allocations: 0 / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.005931, allocations: 8 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.005966, allocations: 119.7 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005966, allocations: 3.312 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002241/0.00619, allocations: 12 kB / 0.5235 GB, free: 14.71 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.0002076/0.006398, allocations: 123 kB / 0.5236 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.006475, allocations: 14.16 kB / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006477, allocations: 0 / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.006486, allocations: 7.688 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.006625, allocations: 0 / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.006845, allocations: 91.94 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.006879, allocations: 52.33 kB / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.083e-05/0.00689, allocations: 0 / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.006909, allocations: 12.5 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.00691, allocations: 1.062 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.00271/0.00962, allocations: 431.1 kB / 0.5242 GB, free: 13.95 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: 4.009105301927775]