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.001719/0.001719, allocations: 88.72 kB / 19.44 MB, free: 352 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.002231/0.002231, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.199/1.199, allocations: 154.8 MB / 414.3 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 3.897e-06/3.897e-06, allocations: 0 / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/4.11e-05, allocations: 5.484 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.003049/0.00309, allocations: 0.7508 MB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.005139, allocations: 0.8757 MB / 0.5214 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.005205, allocations: 4 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.005259, allocations: 11.86 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.005385, allocations: 12.62 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.00564, allocations: 45.34 kB / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.005835, allocations: 83.81 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.005982, allocations: 15.98 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.006144, allocations: 53.25 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.006271, allocations: 39.88 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.006309, allocations: 8 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.006334, allocations: 8 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.006383, allocations: 24.5 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.006447, allocations: 19.92 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.006695, allocations: 106.9 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.0067, allocations: 0 / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.006702, allocations: 0 / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.006708, allocations: 0 / 0.5219 GB, free: 232 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.001062/0.00777, allocations: 318.1 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.007827, allocations: 8.031 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.007922, allocations: 12.89 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.008144, allocations: 126.1 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.008171, allocations: 4.906 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.008203, allocations: 8.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.008711, allocations: 103.6 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.008726, allocations: 3.938 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.008746, allocations: 1.469 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.008752, allocations: 0 / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.009401, allocations: 96.84 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.01022, allocations: 281.5 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.01124, allocations: 111.9 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.01157, allocations: 57.69 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.0116, allocations: 4 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.01165, allocations: 39.77 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.01165, allocations: 0 / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.001154/0.0128, allocations: 179.6 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.01287, allocations: 51.41 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01306, allocations: 123.6 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.0131, allocations: 33.7 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.0132, allocations: 92.03 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.01326, allocations: 27.78 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.01334, allocations: 24.44 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004097/0.01375, allocations: 322.8 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.01406, allocations: 43.95 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.01436, allocations: 43.95 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.01497, allocations: 111.4 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01497, allocations: 0 / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006923/0.01566, allocations: 135 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.01568, allocations: 4 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01569, allocations: 0.9375 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.01571, allocations: 0 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.01595, allocations: 24.91 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01596, allocations: 4.062 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.01613, allocations: 17.19 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01614, allocations: 7.938 kB / 0.5242 GB, free: 13.7 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.000159/0.0163, allocations: 119 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.01637, allocations: 11.95 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.01641, allocations: 12.42 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.01642, allocations: 4.562 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01642, allocations: 0.5938 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.01643, allocations: 3.984 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.01676, allocations: 138.6 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.01676, allocations: 4 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.01699, allocations: 23.97 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01699, allocations: 2.438 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01701, allocations: 0 / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.01701, allocations: 4 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01701, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.01776, allocations: 242.1 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.01779, allocations: 11.89 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01782, allocations: 0 / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.01804, allocations: 19.91 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.01818, allocations: 19.97 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.0182, allocations: 4 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000126/0.01832, allocations: 94.83 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01832, allocations: 0 / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004312/0.01875, allocations: 17.25 kB / 0.5249 GB, free: 12.94 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.0001941/0.01895, allocations: 96.53 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.01957, allocations: 109.4 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01958, allocations: 0 / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.01987, allocations: 52.61 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.02041, allocations: 24.58 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.02103, allocations: 173.5 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.02115, allocations: 77.52 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.829e-05/0.02125, allocations: 15.17 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.02137, allocations: 28.42 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.02137, allocations: 0 / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.005742/0.02711, allocations: 1.714 MB / 0.5271 GB, free: 10.7 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.826176502974704]