Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.001734/0.001734, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00213/0.00213, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.488/1.488, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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-531:190: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-531:198: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.202/1.202, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.667e-05, allocations: 5.453 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.002132/0.002169, allocations: 0.7313 MB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.003569, allocations: 0.8875 MB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.00362, allocations: 0 / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.003659, allocations: 8.375 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.003768, allocations: 23.84 kB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.003961, allocations: 35.84 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.004109, allocations: 95.73 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004229, allocations: 16 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004366, allocations: 51.88 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.004458, allocations: 35.89 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.0045, allocations: 8 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.004518, allocations: 8 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.004557, allocations: 23.97 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.004602, allocations: 19.92 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004762, allocations: 103.7 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004764, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004765, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.00477, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 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.0006922/0.005462, allocations: 318 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.005508, allocations: 9.469 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.005561, allocations: 12.89 kB / 0.6209 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.005749, allocations: 125.6 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.005774, allocations: 16.31 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.00579, allocations: 4.375 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.006144, allocations: 105.8 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.006157, allocations: 3.938 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.006174, allocations: 4 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.006179, allocations: 4 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.006577, allocations: 99.88 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.007147, allocations: 276.3 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.007823, allocations: 114.6 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.008034, allocations: 56.81 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.008059, allocations: 3.938 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.008089, allocations: 34.56 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.008091, allocations: 4 kB / 0.6217 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007452/0.008836, allocations: 181.5 kB / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.008889, allocations: 51.41 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.009015, allocations: 120.2 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.009036, allocations: 25.7 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.00912, allocations: 100.1 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.009156, allocations: 27.8 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.009213, allocations: 25.7 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.0094, allocations: 322.8 kB / 0.6225 GB, free: 448 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.009589, allocations: 43.95 kB / 0.6225 GB, free: 404 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.00978, allocations: 52.19 kB / 0.6226 GB, free: 352 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.01014, allocations: 100.8 kB / 0.6227 GB, free: 248 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01014, allocations: 0 / 0.6227 GB, free: 248 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004277/0.01057, allocations: 133.5 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.01059, allocations: 8 kB / 0.6228 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.0106, allocations: 3.938 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01061, allocations: 0 / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01078, allocations: 27.97 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01079, allocations: 3.938 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.0109, allocations: 11.98 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01092, allocations: 3.984 kB / 0.6229 GB, free: 48 kB / 0.5294 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,add1.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.000132/0.01105, allocations: 118.8 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.01108, allocations: 7.953 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.01113, allocations: 12.44 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01113, allocations: 4 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01114, allocations: 4 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01114, allocations: 0 / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.01133, allocations: 133.2 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01133, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.01148, allocations: 27.97 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01148, allocations: 3.938 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.0115, allocations: 7.984 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.0115, allocations: 4 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0115, allocations: 0 / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.012, allocations: 239.3 kB / 0.6234 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01202, allocations: 7.953 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01204, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.0122, allocations: 15.98 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.01229, allocations: 19.97 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.0123, allocations: 4 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.01236, allocations: 91.27 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01236, allocations: 0 / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002344/0.01259, allocations: 23.94 kB / 0.6235 GB, free: 15.28 MB / 0.545 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 (add1.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.0001377/0.01273, allocations: 99.23 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.01316, allocations: 103.8 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01316, allocations: 0 / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.01338, allocations: 63.94 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.01372, allocations: 14.44 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.0142, allocations: 173.4 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.01428, allocations: 71.33 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.534e-05/0.01435, allocations: 12 kB / 0.6241 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.01442, allocations: 24.42 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.01442, allocations: 0 / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Templates: time 0.004978/0.01939, allocations: 1.692 MB / 0.6257 GB, free: 13.01 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.961702957749367] Failed to read output from testmodel.py, exit status != 0: 0.0289088636636734 0.044498804 0.036629173 Calling exit ...