Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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: 84.73 kB / 19.44 MB, free: 344 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.001759/0.001759, allocations: 157.7 kB / 22.75 MB, free: 1.672 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.264/1.264, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.107e-05, allocations: 6.031 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002029/0.00206, allocations: 0.7459 MB / 0.5204 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003473, allocations: 0.8804 MB / 0.5212 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.003534, allocations: 4 kB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.003575, allocations: 3.938 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.003686, allocations: 8.438 kB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.003884, allocations: 48.78 kB / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.004026, allocations: 83.83 kB / 0.5214 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004152, allocations: 23.91 kB / 0.5214 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004273, allocations: 45.78 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.004364, allocations: 39.88 kB / 0.5215 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.004395, allocations: 8 kB / 0.5215 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.004416, allocations: 8 kB / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.004448, allocations: 17.02 kB / 0.5215 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.004504, allocations: 35.89 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.004684, allocations: 91.66 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.004688, allocations: 4.75 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004689, allocations: 0 / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004693, allocations: 1.188 kB / 0.5216 GB, free: 0.5586 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006967/0.00539, allocations: 314.1 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.005427, allocations: 9.469 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.005493, allocations: 16.89 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.00567, allocations: 124.9 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.005693, allocations: 8.375 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.005711, allocations: 5.156 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.006089, allocations: 109.8 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.006101, allocations: 6.75 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.006119, allocations: 4 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.006123, allocations: 0 / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.006553, allocations: 91.91 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.007118, allocations: 276.8 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.007806, allocations: 120.1 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.008028, allocations: 61.7 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.008052, allocations: 4 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.008084, allocations: 35.75 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.008084, allocations: 0 / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000759/0.008843, allocations: 188.1 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.008893, allocations: 51.41 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.009027, allocations: 121.8 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.009054, allocations: 26.33 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.009127, allocations: 97.47 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.00942, allocations: 23.78 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.009497, allocations: 25.7 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.009684, allocations: 318.8 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.009887, allocations: 45.17 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.01007, allocations: 47.7 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.01048, allocations: 104.9 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01049, allocations: 0 / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004755/0.01096, allocations: 144.1 kB / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01098, allocations: 4 kB / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.01099, allocations: 7.984 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01101, allocations: 0 / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.01119, allocations: 23.97 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0112, allocations: 0.7188 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01132, allocations: 17.3 kB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.01133, allocations: 4 kB / 0.5239 GB, free: 14.03 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001297/0.01146, allocations: 118.5 kB / 0.5241 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.0115, allocations: 7.953 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.01154, allocations: 13.45 kB / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01154, allocations: 0 / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01155, allocations: 4 kB / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.01155, allocations: 10.62 kB / 0.5241 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.01176, allocations: 133.2 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01176, allocations: 0 / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.01193, allocations: 23.97 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01193, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01195, allocations: 4 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01195, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.01195, allocations: 6.625 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.01251, allocations: 235.3 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01253, allocations: 11.89 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01255, allocations: 1.875 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.01274, allocations: 19.97 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.01284, allocations: 27.89 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01285, allocations: 4 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.01293, allocations: 91.27 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01293, allocations: 0.8125 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002488/0.01318, allocations: 12 kB / 0.5246 GB, free: 13.27 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001591/0.01334, allocations: 100.6 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.01379, allocations: 102 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01379, allocations: 0 / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.01401, allocations: 61.02 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.01438, allocations: 23.33 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.01486, allocations: 181.7 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.01495, allocations: 76.08 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.925e-05/0.01502, allocations: 11.62 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.0151, allocations: 24.48 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.0151, allocations: 2.438 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.005112/0.02022, allocations: 1.698 MB / 0.5269 GB, free: 11.04 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.005437263054773]