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.002045/0.002045, allocations: 89.48 kB / 19.44 MB, free: 332 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.002065/0.002065, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.313/1.313, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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.984e-06/1.984e-06, allocations: 0.6562 kB / 0.5197 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.292e-05, allocations: 4.422 kB / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001823/0.001856, allocations: 0.5906 MB / 0.5203 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.002349, allocations: 171.4 kB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.00236, allocations: 0.875 kB / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.002373, allocations: 0 / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.002378, allocations: 0 / 0.5204 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.00275, allocations: 54.11 kB / 0.5205 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.824e-05/0.002788, allocations: 15.92 kB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.002818, allocations: 0 / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.002843, allocations: 0.9375 kB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.002862, allocations: 0 / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.002872, allocations: 0 / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.003033, allocations: 53.02 kB / 0.5205 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.003044, allocations: 3.984 kB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.225e-05/0.003057, allocations: 0 / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003194, allocations: 45.31 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.0032, allocations: 4 kB / 0.5206 GB, free: 1.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.0032, allocations: 0 / 0.5206 GB, free: 1.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003204, allocations: 0 / 0.5206 GB, free: 1.59 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.0003692/0.003573, allocations: 341.2 kB / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.00361, allocations: 12.03 kB / 0.5209 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.003643, allocations: 2.219 kB / 0.5209 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.003739, allocations: 108.6 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00375, allocations: 384 / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.003757, allocations: 4.312 kB / 0.521 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.943e-05/0.003836, allocations: 31.61 kB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.003846, allocations: 4.172 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003853, allocations: 384 / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.003856, allocations: 1.156 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.003881, allocations: 11.92 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.004019, allocations: 110.2 kB / 0.5212 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.004082, allocations: 31.09 kB / 0.5212 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.004113, allocations: 7.688 kB / 0.5212 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.004623, allocations: 70.23 kB / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.004662, allocations: 37.39 kB / 0.5213 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.004664, allocations: 0.5 kB / 0.5213 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.004805, allocations: 38.56 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.004847, allocations: 51.41 kB / 0.5214 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.004929, allocations: 143.2 kB / 0.5215 GB, free: 464 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.004949, allocations: 29.7 kB / 0.5216 GB, free: 428 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.005015, allocations: 126.9 kB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.005046, allocations: 0.5 kB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.005086, allocations: 20.06 kB / 0.5217 GB, free: 268 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.005361, allocations: 0.4883 MB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.00537, allocations: 1.219 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.005375, allocations: 0 / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.00541, allocations: 16.3 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005411, allocations: 0 / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.673e-05/0.005468, allocations: 34.3 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.005485, allocations: 10.38 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005488, allocations: 0 / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005501, allocations: 0 / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.595e-05/0.005537, allocations: 0 / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005541, allocations: 2.438 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.005552, allocations: 3.938 kB / 0.5223 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.005556, allocations: 4 kB / 0.5223 GB, free: 15.69 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 0.000107/0.005663, allocations: 160.5 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.005673, allocations: 3.984 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.005745, allocations: 35.67 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.005751, allocations: 4 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005754, allocations: 11.88 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005756, allocations: 0 / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.947e-05/0.005855, allocations: 116.5 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005856, allocations: 0 / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.005875, allocations: 8 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005876, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.005881, allocations: 0.5938 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005882, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005882, allocations: 1.375 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.005987, allocations: 68.39 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.005996, allocations: 7.938 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.006004, allocations: 2.594 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.006011, allocations: 0 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.006029, allocations: 4 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.006031, allocations: 0 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.006093, allocations: 119.2 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006093, allocations: 0 / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000183/0.006276, allocations: 15.94 kB / 0.5228 GB, free: 15.07 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.0002175/0.006494, allocations: 125.9 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.006573, allocations: 12.75 kB / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006575, allocations: 0 / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.006591, allocations: 7.688 kB / 0.5229 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.006708, allocations: 8 kB / 0.5229 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.00694, allocations: 83.98 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.503e-05/0.006995, allocations: 57.05 kB / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.007006, allocations: 0 / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.007022, allocations: 8.5 kB / 0.5231 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.007023, allocations: 0 / 0.5231 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.00305/0.01007, allocations: 437.4 kB / 0.5235 GB, free: 14.3 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: 5.817303693969734]