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.0008637/0.0008637, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0008732/0.0008732, allocations: 169 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 0.8745/0.8745, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.7868/0.7868, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.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.104e-06/2.104e-06, allocations: 0 / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.486e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001403/0.001428, allocations: 0.7469 MB / 0.5223 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.002293, allocations: 0.9029 MB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.002342, allocations: 0 / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.002373, allocations: 11.86 kB / 0.5232 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.002456, allocations: 17 kB / 0.5232 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.002606, allocations: 35.94 kB / 0.5232 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.002691, allocations: 88.39 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.002791, allocations: 25.25 kB / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.002882, allocations: 47.91 kB / 0.5234 GB, free: 36 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.00296, allocations: 43.95 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.002983, allocations: 8 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.002995, allocations: 9.25 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.003016, allocations: 15.89 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.003043, allocations: 23.92 kB / 0.5235 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003145, allocations: 68.5 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003147, allocations: 0 / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003148, allocations: 0.8438 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003152, allocations: 0 / 0.5235 GB, free: 15.87 MB / 0.4948 GB 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.0003869/0.003539, allocations: 415 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.003573, allocations: 8.031 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.003608, allocations: 12.89 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.003697, allocations: 120.5 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.00372, allocations: 16.3 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.00373, allocations: 4.375 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.00388, allocations: 87.48 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003887, allocations: 4.438 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.003897, allocations: 4.5 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.003902, allocations: 4 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.003946, allocations: 25.02 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.004269, allocations: 308.9 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.004507, allocations: 76.08 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.004536, allocations: 20.7 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004551, allocations: 4 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.004572, allocations: 33.39 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.004574, allocations: 0.9688 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.004743, allocations: 70.3 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.004772, allocations: 63.33 kB / 0.5248 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.004843, allocations: 183.1 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.004854, allocations: 25.7 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.004901, allocations: 138.9 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.004923, allocations: 24.5 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.004959, allocations: 27.36 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005068, allocations: 0.4938 MB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.005092, allocations: 4 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.005113, allocations: 12.3 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.005168, allocations: 40.25 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00517, allocations: 1.5 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.823e-05/0.005268, allocations: 69.56 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005281, allocations: 8 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005285, allocations: 0.75 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.005294, allocations: 3.938 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.005374, allocations: 20.89 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005377, allocations: 0 / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.005413, allocations: 13.11 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.005418, allocations: 0 / 0.5258 GB, free: 13.38 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 7.194e-05/0.00549, allocations: 165.1 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.005512, allocations: 7.953 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.005538, allocations: 15.17 kB / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00554, allocations: 0 / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.005543, allocations: 4 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005546, allocations: 0 / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.005654, allocations: 117.2 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005655, allocations: 0 / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.005712, allocations: 27.84 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005714, allocations: 3.031 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.005721, allocations: 4 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005722, allocations: 0 / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.005723, allocations: 0 / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.005864, allocations: 215.9 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.005875, allocations: 11.83 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.005885, allocations: 4 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.005936, allocations: 13.48 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.005989, allocations: 23.97 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.005995, allocations: 4 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.006036, allocations: 138.4 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006036, allocations: 1.469 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001458/0.006182, allocations: 16 kB / 0.5265 GB, free: 12.58 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 9.006e-05/0.006272, allocations: 99.17 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.00637, allocations: 40.88 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006372, allocations: 0 / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.006419, allocations: 44.14 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.006607, allocations: 18.52 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.006898, allocations: 181.8 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006931, allocations: 59.3 kB / 0.5269 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.006975, allocations: 14.42 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.007056, allocations: 86.19 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.007056, allocations: 1.125 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.003143/0.0102, allocations: 1.871 MB / 0.5289 GB, free: 10.21 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5388153521344066]