Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001462/0.001462, 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.001711/0.001711, allocations: 161.4 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.48/1.48, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.196/1.196, allocations: 154.6 MB / 413.7 MB, free: 5.293 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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.285e-05, allocations: 6.219 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002104/0.002137, allocations: 0.7959 MB / 0.6193 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003633, allocations: 0.9249 MB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.003706, allocations: 0 / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003841, allocations: 15.86 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.003965, allocations: 19.8 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.004186, allocations: 67.78 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.004397, allocations: 123.7 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.00456, allocations: 29.28 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004692, allocations: 79.86 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.004875, allocations: 71.72 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.004915, allocations: 12 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.004945, allocations: 12 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.005013, allocations: 35.89 kB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.005077, allocations: 35.91 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.005314, allocations: 159.5 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005317, allocations: 0 / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005318, allocations: 0 / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.005324, allocations: 0 / 0.6208 GB, free: 2.246 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009253/0.006249, allocations: 377.7 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.006291, allocations: 9.469 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.006349, allocations: 16.84 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.006586, allocations: 146.1 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.006605, allocations: 4.375 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.006628, allocations: 8.375 kB / 0.6214 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.0071, allocations: 149.5 kB / 0.6215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.007111, allocations: 4 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.00713, allocations: 4 kB / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007137, allocations: 4 kB / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.007707, allocations: 151.8 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.008354, allocations: 344.1 kB / 0.622 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.009247, allocations: 166.5 kB / 0.6222 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.009541, allocations: 80.91 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.00956, allocations: 4 kB / 0.6223 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.0096, allocations: 38.5 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.009601, allocations: 4 kB / 0.6223 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.001037/0.01064, allocations: 273.5 kB / 0.6226 GB, free: 392 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.01069, allocations: 55.41 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01088, allocations: 159.4 kB / 0.6228 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.0109, allocations: 26.08 kB / 0.6228 GB, free: 116 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.01099, allocations: 108 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.01105, allocations: 31.92 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.01112, allocations: 29.7 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.01129, allocations: 326.8 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.01158, allocations: 71.92 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.01185, allocations: 75.92 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.01241, allocations: 156.7 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01241, allocations: 4 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006315/0.01304, allocations: 201.5 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01306, allocations: 4 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01306, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01308, allocations: 3.75 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.01334, allocations: 39.89 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01334, allocations: 0 / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.01352, allocations: 31.92 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01353, allocations: 4 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001284/0.01366, allocations: 122.8 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.0137, allocations: 7.953 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.01374, allocations: 16.78 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01375, allocations: 3.938 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01375, allocations: 3.938 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.01376, allocations: 3.984 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.01398, allocations: 161.3 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01399, allocations: 4 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.01422, allocations: 40.17 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01422, allocations: 0 / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01424, allocations: 8 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01424, allocations: 3.938 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.01425, allocations: 7.922 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.01498, allocations: 303.2 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.015, allocations: 19.88 kB / 0.6245 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01503, allocations: 4 kB / 0.6245 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.01523, allocations: 19.97 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.01534, allocations: 31.91 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.01536, allocations: 7.984 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.404e-05/0.01545, allocations: 113.5 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01545, allocations: 4 kB / 0.6247 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000248/0.0157, allocations: 23.95 kB / 0.6247 GB, free: 14.07 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001462/0.01585, allocations: 99.25 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006515/0.0165, allocations: 167.8 kB / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0165, allocations: 0 / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.01683, allocations: 99.86 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.01713, allocations: 11.98 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.01773, allocations: 245.2 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.01783, allocations: 93.3 kB / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.528e-05/0.01793, allocations: 20.97 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.01803, allocations: 28.47 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.01803, allocations: 0 / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Templates: time 0.006252/0.02428, allocations: 2.58 MB / 0.6279 GB, free: 10.74 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.944651518017054] Failed to read output from testmodel.py, exit status != 0: 0.03339221701025963 0.047024291 0.038734272 Calling exit ...