Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0007161/0.0007161, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007634/0.0007634, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8743/0.8743, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6826/0.6826, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 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 179] 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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.714e-05, allocations: 2.781 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001336/0.001363, allocations: 0.8289 MB / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000805/0.002168, allocations: 0.9132 MB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.00222, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.822e-05/0.002318, allocations: 15.81 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.002431, allocations: 27.72 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.002534, allocations: 47.94 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.002681, allocations: 147.5 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.002818, allocations: 29.53 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.002901, allocations: 79.84 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.003006, allocations: 71.8 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.003036, allocations: 12 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.003049, allocations: 12 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.003101, allocations: 47.88 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.003143, allocations: 39.86 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.003309, allocations: 183.4 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.003312, allocations: 0 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003313, allocations: 4 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.003317, allocations: 0 / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005952/0.003913, allocations: 445.2 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.003946, allocations: 8.031 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.00398, allocations: 20.84 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.004134, allocations: 157.5 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.004147, allocations: 4.375 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.004161, allocations: 8.375 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.004484, allocations: 186 kB / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004492, allocations: 192 / 0.6226 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.004507, allocations: 8.375 kB / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004512, allocations: 4.359 kB / 0.6226 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.004906, allocations: 221.1 kB / 0.6228 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.005492, allocations: 436 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.005741, allocations: 146.5 kB / 0.6234 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.005933, allocations: 112.7 kB / 0.6235 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.005952, allocations: 4.188 kB / 0.6235 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005974, allocations: 38.5 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.005975, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0006581/0.006633, allocations: 357.4 kB / 0.6239 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.006664, allocations: 55.41 kB / 0.6239 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006774, allocations: 174 kB / 0.6241 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.00679, allocations: 37.64 kB / 0.6241 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.006846, allocations: 128 kB / 0.6242 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.006874, allocations: 27.73 kB / 0.6243 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.006909, allocations: 21.72 kB / 0.6243 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.006995, allocations: 334.8 kB / 0.6246 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.007178, allocations: 99.89 kB / 0.6247 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.007356, allocations: 104.3 kB / 0.6248 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.007708, allocations: 220.7 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00771, allocations: 4 kB / 0.625 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003982/0.008109, allocations: 261.3 kB / 0.6253 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.008122, allocations: 6.344 kB / 0.6253 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008127, allocations: 4 kB / 0.6253 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.008138, allocations: 0 / 0.6253 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.008287, allocations: 39.95 kB / 0.6253 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008292, allocations: 0 / 0.6253 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.008379, allocations: 43.94 kB / 0.6253 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.008385, allocations: 0 / 0.6253 GB, free: 6.805 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.739e-05/0.008463, allocations: 138.8 kB / 0.6255 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.008483, allocations: 15.91 kB / 0.6255 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.008512, allocations: 17.47 kB / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008514, allocations: 0 / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008518, allocations: 0 / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00852, allocations: 0 / 0.6255 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.00866, allocations: 185.1 kB / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.008661, allocations: 0 / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.008765, allocations: 43.89 kB / 0.6257 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008767, allocations: 4 kB / 0.6257 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.008776, allocations: 4 kB / 0.6257 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008778, allocations: 0 / 0.6257 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008779, allocations: 0 / 0.6257 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.009213, allocations: 367.2 kB / 0.6261 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.009225, allocations: 12 kB / 0.6261 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009239, allocations: 3.938 kB / 0.6261 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.009587, allocations: 31.95 kB / 0.6261 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.009638, allocations: 11.98 kB / 0.6261 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.009644, allocations: 11.92 kB / 0.6262 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.009707, allocations: 131.4 kB / 0.6263 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009707, allocations: 4 kB / 0.6263 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001607/0.009868, allocations: 24 kB / 0.6263 GB, free: 5.766 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 9.699e-05/0.009965, allocations: 95.23 kB / 0.6264 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.01039, allocations: 227.7 kB / 0.6266 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01039, allocations: 0 / 0.6266 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.01058, allocations: 111.8 kB / 0.6267 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01081, allocations: 23.92 kB / 0.6267 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.01125, allocations: 336.2 kB / 0.6271 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.01133, allocations: 118.2 kB / 0.6272 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.01138, allocations: 12.5 kB / 0.6272 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.01138, allocations: 0 / 0.6272 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of Templates: time 0.002448/0.01383, allocations: 2.098 MB / 0.6292 GB, free: 2.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.030558364465833] Failed to read output from testmodel.py, exit status != 0: 0.01962072029709816 0.027444955 0.022539123 Calling exit ...