Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001915/0.001915, allocations: 85.48 kB / 19.44 MB, free: 348 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.002107/0.002107, allocations: 177.6 kB / 22.77 MB, free: 1.664 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.567/1.567, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.34/1.34, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5199 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.276e-05, allocations: 6.031 kB / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002317/0.00235, allocations: 0.7579 MB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003662, allocations: 0.8821 MB / 0.5215 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.003717, allocations: 0 / 0.5215 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.003754, allocations: 9.594 kB / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.003852, allocations: 15.88 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.004034, allocations: 43.88 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.00417, allocations: 85.25 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004291, allocations: 19.98 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004426, allocations: 51.89 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.00451, allocations: 31.95 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.004538, allocations: 8.75 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.004555, allocations: 11.94 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.004588, allocations: 21.44 kB / 0.5218 GB, free: 404 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.004631, allocations: 27.86 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.004806, allocations: 95.69 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004807, allocations: 0 / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004808, allocations: 1.344 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004813, allocations: 0 / 0.5219 GB, free: 280 kB / 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.0006868/0.005499, allocations: 408 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005539, allocations: 12.73 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.005599, allocations: 16.89 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.005755, allocations: 123.6 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.005774, allocations: 4.375 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.005793, allocations: 8.375 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.006052, allocations: 97.12 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.006065, allocations: 7.938 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.006078, allocations: 0 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.006083, allocations: 0 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.006356, allocations: 72.52 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.006958, allocations: 344.7 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.007538, allocations: 107.9 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.007695, allocations: 57.06 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.007718, allocations: 0 / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.007754, allocations: 37.39 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.007754, allocations: 0 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005451/0.008299, allocations: 147.8 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.008345, allocations: 51.41 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.008512, allocations: 189.9 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.008538, allocations: 29.7 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.008631, allocations: 140.1 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.008667, allocations: 27.78 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.008733, allocations: 31.36 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002652/0.008998, allocations: 0.493 MB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.009137, allocations: 39.91 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.009265, allocations: 37.56 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.009516, allocations: 81.12 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009518, allocations: 0 / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003234/0.009842, allocations: 116.5 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.009856, allocations: 5.25 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.009862, allocations: 4 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.009875, allocations: 0 / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01002, allocations: 23.91 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01003, allocations: 3.938 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.01011, allocations: 4 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.01012, allocations: 6.75 kB / 0.5245 GB, free: 13.41 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.0001418/0.01026, allocations: 164.5 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.01031, allocations: 19.92 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.01034, allocations: 8.438 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01035, allocations: 4 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.01035, allocations: 0 / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01035, allocations: 0 / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.01056, allocations: 153.3 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01056, allocations: 0 / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.01069, allocations: 21.05 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01069, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.01071, allocations: 7.984 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01072, allocations: 0.8125 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01072, allocations: 0 / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.01133, allocations: 269.8 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.01135, allocations: 15.88 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01137, allocations: 0 / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01147, allocations: 4 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.01156, allocations: 30.41 kB / 0.5252 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01157, allocations: 3.984 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.01167, allocations: 139.2 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01167, allocations: 0 / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002288/0.0119, allocations: 16 kB / 0.5253 GB, free: 12.51 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.0001244/0.01202, allocations: 93.94 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.01236, allocations: 91.58 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01236, allocations: 0 / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.01254, allocations: 63.64 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.0128, allocations: 12.78 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.0133, allocations: 195.7 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.78e-05/0.01338, allocations: 76.73 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.01345, allocations: 14.28 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.01353, allocations: 29.17 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01353, allocations: 0 / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.005213/0.01874, allocations: 1.705 MB / 0.5275 GB, free: 10.26 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.158839312032796]