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.0009539/0.0009539, allocations: 76.45 kB / 19.9 MB, free: 12 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.001143/0.001143, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9561/0.9561, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7641/0.7641, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.91 kB / 0.6196 GB, free: 11.98 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5025, allocations: 102 MB / 0.7192 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001496/0.504, allocations: 0.8324 MB / 0.72 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.5049, allocations: 0.8977 MB / 0.7209 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.505, allocations: 7.938 kB / 0.7209 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.5051, allocations: 19.8 kB / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.5052, allocations: 23.8 kB / 0.7209 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.5054, allocations: 43.94 kB / 0.721 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.5055, allocations: 135.6 kB / 0.7211 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.5057, allocations: 37.3 kB / 0.7211 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.5058, allocations: 83.73 kB / 0.7212 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.5059, allocations: 83.66 kB / 0.7213 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.506, allocations: 16 kB / 0.7213 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.506, allocations: 12 kB / 0.7213 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.506, allocations: 39.91 kB / 0.7214 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.5061, allocations: 59.66 kB / 0.7214 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.5063, allocations: 178 kB / 0.7216 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5063, allocations: 3.938 kB / 0.7216 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5063, allocations: 3.938 kB / 0.7216 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5063, allocations: 0 / 0.7216 GB, free: 11.23 MB / 0.6042 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.0007108/0.507, allocations: 441.4 kB / 0.722 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.507, allocations: 8.031 kB / 0.722 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.5071, allocations: 20.8 kB / 0.722 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.5073, allocations: 162.1 kB / 0.7222 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5073, allocations: 4.375 kB / 0.7222 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.5073, allocations: 8.375 kB / 0.7222 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.5076, allocations: 192.1 kB / 0.7224 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5076, allocations: 192 / 0.7224 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5077, allocations: 3.938 kB / 0.7224 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5077, allocations: 4 kB / 0.7224 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.5081, allocations: 215.8 kB / 0.7226 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.5087, allocations: 444 kB / 0.723 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.5089, allocations: 142.5 kB / 0.7232 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.5091, allocations: 112.7 kB / 0.7233 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.5092, allocations: 7.938 kB / 0.7233 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5092, allocations: 38.69 kB / 0.7233 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.5092, allocations: 0 / 0.7233 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006768/0.5099, allocations: 365.4 kB / 0.7237 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.5099, allocations: 55.41 kB / 0.7237 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.51, allocations: 178 kB / 0.7239 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.51, allocations: 25.7 kB / 0.7239 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.5101, allocations: 128 kB / 0.724 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.5101, allocations: 27.75 kB / 0.7241 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.5102, allocations: 21.7 kB / 0.7241 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.5103, allocations: 330.8 kB / 0.7244 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5105, allocations: 103.9 kB / 0.7245 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.5107, allocations: 99.89 kB / 0.7246 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.5111, allocations: 221.1 kB / 0.7248 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5111, allocations: 0 / 0.7248 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004439/0.5115, allocations: 265.3 kB / 0.725 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5115, allocations: 6.188 kB / 0.7251 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5115, allocations: 0 / 0.7251 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5116, allocations: 0 / 0.7251 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5117, allocations: 47.89 kB / 0.7251 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5117, allocations: 7.984 kB / 0.7251 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.5118, allocations: 39.86 kB / 0.7251 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.5118, allocations: 4 kB / 0.7251 GB, free: 7.406 MB / 0.6042 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 0.000104/0.5119, allocations: 126.8 kB / 0.7253 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.512, allocations: 15.91 kB / 0.7253 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.512, allocations: 21.47 kB / 0.7253 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.512, allocations: 0 / 0.7253 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.512, allocations: 8 kB / 0.7253 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.512, allocations: 3.938 kB / 0.7253 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.5122, allocations: 185.2 kB / 0.7255 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5122, allocations: 0 / 0.7255 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.5123, allocations: 43.89 kB / 0.7255 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5123, allocations: 0 / 0.7255 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.5123, allocations: 4 kB / 0.7255 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5123, allocations: 0 / 0.7255 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5123, allocations: 3.938 kB / 0.7255 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.5128, allocations: 367.1 kB / 0.7259 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.5128, allocations: 11.89 kB / 0.7259 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.5128, allocations: 4 kB / 0.7259 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5129, allocations: 31.95 kB / 0.7259 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.513, allocations: 19.97 kB / 0.726 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.513, allocations: 0 / 0.726 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.5131, allocations: 131.4 kB / 0.7261 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.5131, allocations: 0 / 0.7261 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001643/0.5132, allocations: 31.89 kB / 0.7261 GB, free: 6.352 MB / 0.6042 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 0.0001281/0.5134, allocations: 99.23 kB / 0.7262 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.5138, allocations: 223.8 kB / 0.7264 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5138, allocations: 4 kB / 0.7264 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.514, allocations: 115.8 kB / 0.7265 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5143, allocations: 23.73 kB / 0.7266 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.5148, allocations: 311.2 kB / 0.7269 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.5148, allocations: 114.2 kB / 0.727 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.5149, allocations: 20.48 kB / 0.727 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.5149, allocations: 16.5 kB / 0.727 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.5149, allocations: 0 / 0.727 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of Templates: time 0.003527/0.5185, allocations: 2.049 MB / 0.729 GB, free: 3.395 MB / 0.6042 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4038984219077975] Failed to read output from testmodel.py, exit status != 0: 0.524835865944624 0.532157761 0.024145543000000002 Calling exit ...