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.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.001334/0.001334, allocations: 88.72 kB / 19.44 MB, free: 356 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.001479/0.001479, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.209/1.209, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0.7656 kB / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.272e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001911/0.001943, allocations: 0.5982 MB / 0.5203 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.002554, allocations: 180.2 kB / 0.5204 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.002566, allocations: 5.75 kB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.002579, allocations: 0 / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-06/0.002586, allocations: 0 / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.003, allocations: 55.75 kB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.003037, allocations: 0 / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.003075, allocations: 4.562 kB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.003101, allocations: 5.25 kB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.003124, allocations: 0 / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.003133, allocations: 0 / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.003324, allocations: 63.8 kB / 0.5206 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.003335, allocations: 0.5 kB / 0.5206 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.003357, allocations: 5 kB / 0.5206 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003494, allocations: 39.92 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003497, allocations: 4 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003498, allocations: 0.875 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003501, allocations: 0 / 0.5206 GB, free: 1.57 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.0003231/0.003824, allocations: 239 kB / 0.5208 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.003865, allocations: 12.03 kB / 0.5208 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.003904, allocations: 2.062 kB / 0.5208 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.004008, allocations: 109.8 kB / 0.521 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.00402, allocations: 384 / 0.521 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.00403, allocations: 5.094 kB / 0.521 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.004121, allocations: 31.83 kB / 0.521 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.004128, allocations: 192 / 0.521 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004136, allocations: 384 / 0.521 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.00414, allocations: 384 / 0.521 GB, free: 1.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.004167, allocations: 7.938 kB / 0.521 GB, free: 1.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.004301, allocations: 94.92 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.00435, allocations: 22.61 kB / 0.5211 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.004371, allocations: 4.859 kB / 0.5211 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.005007, allocations: 73.91 kB / 0.5212 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.005048, allocations: 43.66 kB / 0.5212 GB, free: 0.832 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.005049, allocations: 4 kB / 0.5212 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.005201, allocations: 32.02 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.005248, allocations: 55.39 kB / 0.5213 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.005305, allocations: 89.86 kB / 0.5214 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.005325, allocations: 25.7 kB / 0.5214 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.005365, allocations: 80.14 kB / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.005401, allocations: 0 / 0.5215 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.005435, allocations: 19.41 kB / 0.5215 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004491/0.005884, allocations: 314.8 kB / 0.5218 GB, free: 180 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.005895, allocations: 0 / 0.5218 GB, free: 180 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.005902, allocations: 4 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.005935, allocations: 9.359 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005936, allocations: 4.906 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.927e-05/0.006006, allocations: 33.69 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.006021, allocations: 5.125 kB / 0.5219 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006027, allocations: 0 / 0.5219 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.006046, allocations: 0 / 0.5219 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.006093, allocations: 4.75 kB / 0.5219 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.006098, allocations: 0 / 0.5219 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.006111, allocations: 4.969 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.006116, allocations: 0 / 0.5219 GB, free: 108 kB / 490.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 0.000117/0.006233, allocations: 118.4 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.006242, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.006344, allocations: 43.47 kB / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.006346, allocations: 0 / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.006354, allocations: 4 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.006356, allocations: 0 / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.00646, allocations: 101.3 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006462, allocations: 0 / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.006481, allocations: 4 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.006485, allocations: 7.016 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.006492, allocations: 0 / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006493, allocations: 0 / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.006494, allocations: 4 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.006587, allocations: 61 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.006599, allocations: 11.89 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006609, allocations: 0 / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-06/0.006619, allocations: 3.984 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.006633, allocations: 1.5 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.006635, allocations: 0 / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.006679, allocations: 75.28 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006679, allocations: 0 / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002197/0.006899, allocations: 19.03 kB / 0.5223 GB, free: 15.61 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.0002427/0.007142, allocations: 119.2 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.007226, allocations: 6.438 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007228, allocations: 0 / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.007244, allocations: 7.938 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.007383, allocations: 0 / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.00763, allocations: 78.34 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.007694, allocations: 55.34 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.288e-05/0.007707, allocations: 9.203 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.007731, allocations: 8.5 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.007732, allocations: 0 / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.00304/0.01077, allocations: 437.1 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.797865452012047]