Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001339/0.001339, allocations: 78.25 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.001466/0.001466, allocations: 169.5 kB / 22.45 MB, free: 5.371 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.407/1.407, 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 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-531:686: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-531:694: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 1.166/1.166, allocations: 154.7 MB / 413.9 MB, free: 5.141 MB / 382.1 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 178] 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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.98e-05, allocations: 6.906 kB / 0.6188 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001967/0.001997, allocations: 0.803 MB / 0.6195 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003338, allocations: 0.9277 MB / 0.6205 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.003406, allocations: 0 / 0.6205 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.00352, allocations: 11.86 kB / 0.6205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.00364, allocations: 15.81 kB / 0.6205 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003833, allocations: 63.86 kB / 0.6205 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.004025, allocations: 135.7 kB / 0.6207 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004163, allocations: 29.28 kB / 0.6207 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004275, allocations: 71.88 kB / 0.6208 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.004436, allocations: 67.83 kB / 0.6208 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.00447, allocations: 12 kB / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.083e-05/0.004491, allocations: 12 kB / 0.6209 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.004545, allocations: 35.84 kB / 0.6209 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.004602, allocations: 39.89 kB / 0.6209 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.004817, allocations: 163.4 kB / 0.6211 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004819, allocations: 4 kB / 0.6211 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00482, allocations: 0 / 0.6211 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.004826, allocations: 0 / 0.6211 GB, free: 2.16 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.0008264/0.005652, allocations: 373.7 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.005699, allocations: 8.031 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.005748, allocations: 20.84 kB / 0.6215 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.005976, allocations: 146.1 kB / 0.6216 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.005997, allocations: 8.375 kB / 0.6216 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.00602, allocations: 8.375 kB / 0.6216 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.006508, allocations: 149.5 kB / 0.6218 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006519, allocations: 0 / 0.6218 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.006535, allocations: 4 kB / 0.6218 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.00654, allocations: 4 kB / 0.6218 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.007116, allocations: 165.5 kB / 0.6219 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.007742, allocations: 332.2 kB / 0.6222 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.008588, allocations: 162.5 kB / 0.6224 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.008866, allocations: 88.91 kB / 0.6225 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.008891, allocations: 4 kB / 0.6225 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.008923, allocations: 30.56 kB / 0.6225 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.008924, allocations: 0 / 0.6225 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.000934/0.009858, allocations: 285.5 kB / 0.6228 GB, free: 300 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.009896, allocations: 51.41 kB / 0.6228 GB, free: 236 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.01005, allocations: 157.5 kB / 0.623 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01008, allocations: 33.7 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.01016, allocations: 104 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.01021, allocations: 31.73 kB / 0.6232 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.01027, allocations: 29.7 kB / 0.6232 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.01041, allocations: 322.8 kB / 0.6235 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.0107, allocations: 83.86 kB / 0.6236 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.01097, allocations: 71.92 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.01148, allocations: 157.3 kB / 0.6238 GB, free: 15.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01148, allocations: 0 / 0.6238 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005965/0.01207, allocations: 205.4 kB / 0.624 GB, free: 15.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01209, allocations: 4 kB / 0.624 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01209, allocations: 0 / 0.624 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.01211, allocations: 11.94 kB / 0.624 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.01238, allocations: 31.95 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01238, allocations: 4 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.01255, allocations: 23.92 kB / 0.6241 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01256, allocations: 4 kB / 0.6241 GB, free: 14.93 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.0001196/0.01268, allocations: 127.6 kB / 0.6242 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01272, allocations: 7.953 kB / 0.6242 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.01276, allocations: 20.78 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01276, allocations: 3.938 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01276, allocations: 0 / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01277, allocations: 3.984 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.013, allocations: 161.2 kB / 0.6244 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.013, allocations: 0 / 0.6244 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.01323, allocations: 35.95 kB / 0.6244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01323, allocations: 0 / 0.6244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01325, allocations: 12 kB / 0.6244 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01325, allocations: 4 kB / 0.6244 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01326, allocations: 3.938 kB / 0.6244 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.01392, allocations: 295.3 kB / 0.6247 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01395, allocations: 15.88 kB / 0.6247 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01397, allocations: 4 kB / 0.6247 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.01417, allocations: 23.97 kB / 0.6247 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.01427, allocations: 39.83 kB / 0.6248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01429, allocations: 4 kB / 0.6248 GB, free: 14.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001082/0.01439, allocations: 113.9 kB / 0.6249 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01439, allocations: 7.938 kB / 0.6249 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002465/0.01464, allocations: 20.14 kB / 0.6249 GB, free: 14 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.0001225/0.01476, allocations: 99.25 kB / 0.625 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006192/0.01538, allocations: 171.7 kB / 0.6252 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01538, allocations: 4 kB / 0.6252 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.01569, allocations: 91.92 kB / 0.6253 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.01598, allocations: 15.98 kB / 0.6253 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.01654, allocations: 249.2 kB / 0.6255 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.01663, allocations: 97.3 kB / 0.6256 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.01674, allocations: 20.5 kB / 0.6256 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.01682, allocations: 28.47 kB / 0.6257 GB, free: 13.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01682, allocations: 0 / 0.6257 GB, free: 13.18 MB / 0.545 GB Notification: Performance of Templates: time 0.005882/0.02271, allocations: 2.577 MB / 0.6282 GB, free: 10.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.725516906008124] Failed to read output from testmodel.py, exit status != 0: 0.031112253665924072 0.045077069000000004 0.037266168 Calling exit ...