Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001021/0.001021, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001005/0.001005, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 1.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8909/0.8909, allocations: 154.9 MB / 415.1 MB, free: 216 kB / 378.7 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 179] 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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0.6562 kB / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.526e-05, allocations: 6.672 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001551/0.001586, allocations: 0.8385 MB / 0.522 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.002564, allocations: 0.9301 MB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.002624, allocations: 4 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.002737, allocations: 21.14 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.002847, allocations: 27.14 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.002964, allocations: 39.95 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003118, allocations: 147.5 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.003264, allocations: 33.47 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.003362, allocations: 79.8 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.003465, allocations: 67.84 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.003489, allocations: 12 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.003507, allocations: 16 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.003551, allocations: 43.83 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.003592, allocations: 44.47 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.003722, allocations: 128 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003724, allocations: 0 / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003726, allocations: 0.5625 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003729, allocations: 0.875 kB / 0.5236 GB, free: 15.04 MB / 0.4948 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.0004923/0.004222, allocations: 0.4934 MB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.004263, allocations: 12.97 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.004305, allocations: 24.84 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.004444, allocations: 157.3 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.004457, allocations: 12.31 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004469, allocations: 8.375 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.004663, allocations: 118.1 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.004671, allocations: 192 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004681, allocations: 384 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.004688, allocations: 5.188 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.777e-05/0.004746, allocations: 27.88 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.005202, allocations: 390.6 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.005286, allocations: 52 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.005323, allocations: 29.14 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.005335, allocations: 4 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.00536, allocations: 37.39 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.005361, allocations: 0 / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001785/0.00554, allocations: 81.75 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.00557, allocations: 57.72 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.005691, allocations: 232.3 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.005703, allocations: 25.7 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.005777, allocations: 170.7 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.005809, allocations: 27.75 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.005849, allocations: 31.36 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.005986, allocations: 0.4987 MB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.006013, allocations: 4 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.006039, allocations: 12.36 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.006102, allocations: 51.67 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006104, allocations: 0 / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001046/0.006209, allocations: 77.53 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.006223, allocations: 5.406 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006229, allocations: 2.75 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006242, allocations: 4 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.006363, allocations: 27.97 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006366, allocations: 0 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.006417, allocations: 27.88 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006423, allocations: 1.094 kB / 0.5262 GB, free: 12.18 MB / 0.4948 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.317e-05/0.006496, allocations: 160.5 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.006518, allocations: 12.89 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.00655, allocations: 29.39 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006553, allocations: 4 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006555, allocations: 0.9375 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006558, allocations: 0 / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.006684, allocations: 133.2 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006685, allocations: 0.5 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.006758, allocations: 36.59 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006761, allocations: 5.203 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.006768, allocations: 4 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006769, allocations: 3.938 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00677, allocations: 0.625 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.006917, allocations: 227.8 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.006931, allocations: 16.5 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.006943, allocations: 5.25 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.007002, allocations: 11.98 kB / 0.5268 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.007046, allocations: 19.97 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.00705, allocations: 2.438 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.00711, allocations: 168.2 kB / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.00711, allocations: 0 / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000145/0.007255, allocations: 27.94 kB / 0.527 GB, free: 11.28 MB / 0.4948 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.0001072/0.007363, allocations: 95.19 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.007467, allocations: 42.67 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007469, allocations: 0 / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.007514, allocations: 35.59 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.00775, allocations: 32.48 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.008159, allocations: 286.4 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.497e-05/0.008204, allocations: 75.33 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.008242, allocations: 10.16 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.008334, allocations: 94.17 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.008335, allocations: 4.656 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.003615/0.01195, allocations: 2.199 MB / 0.5298 GB, free: 8.488 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9436805597506464]