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.001207/0.001207, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001446/0.001446, allocations: 177 kB / 23.49 MB, free: 1.051 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.081/1.081, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8306/0.8306, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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.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 1.803e-06/1.803e-06, allocations: 0 / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.059e-05, allocations: 4.906 kB / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001549/0.00157, allocations: 0.8353 MB / 0.5214 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002781, allocations: 0.9365 MB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.002869, allocations: 0 / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003002, allocations: 12.42 kB / 0.5223 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.003124, allocations: 20.72 kB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.003323, allocations: 59.86 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003479, allocations: 133.2 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003611, allocations: 25.23 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.003707, allocations: 79.86 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.003828, allocations: 63.84 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.003857, allocations: 12.94 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.003877, allocations: 12 kB / 0.5227 GB, free: 92 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.00394, allocations: 39.83 kB / 0.5228 GB, free: 52 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.003992, allocations: 41.3 kB / 0.5228 GB, free: 12 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004168, allocations: 111.5 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00417, allocations: 0 / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004171, allocations: 1.156 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004175, allocations: 0 / 0.5229 GB, free: 15.9 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005577/0.004733, allocations: 448.8 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.004778, allocations: 8.031 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.004841, allocations: 26.12 kB / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.005028, allocations: 149.7 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.005054, allocations: 8.375 kB / 0.5235 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.005073, allocations: 8.375 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.005308, allocations: 121.2 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005316, allocations: 4.531 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.00533, allocations: 4.5 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.005339, allocations: 1.875 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.005436, allocations: 43.92 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.005909, allocations: 367.4 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.006233, allocations: 104.6 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.006291, allocations: 33.27 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.006306, allocations: 0 / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.006329, allocations: 41.39 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.041e-06/0.00633, allocations: 0 / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002587/0.006589, allocations: 114.6 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.006617, allocations: 52.88 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.006721, allocations: 208.5 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.006738, allocations: 29.7 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.006812, allocations: 154.8 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.006851, allocations: 32.23 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.006912, allocations: 36.38 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007058, allocations: 0.4923 MB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.007114, allocations: 15.98 kB / 0.5253 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.007156, allocations: 25.05 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.009e-05/0.007246, allocations: 44.2 kB / 0.5254 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007249, allocations: 0 / 0.5254 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.007393, allocations: 107.7 kB / 0.5255 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.007427, allocations: 4 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007433, allocations: 0 / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007446, allocations: 3.938 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.007574, allocations: 30.41 kB / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.00758, allocations: 0 / 0.5255 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.007634, allocations: 12 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.007645, allocations: 7.984 kB / 0.5255 GB, free: 13.02 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: 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 7.693e-05/0.007722, allocations: 164.5 kB / 0.5257 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.007751, allocations: 14.05 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.007781, allocations: 20.77 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007784, allocations: 3.938 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.007788, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007791, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.007923, allocations: 165.5 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007924, allocations: 0 / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.007999, allocations: 27.97 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.008, allocations: 0.9375 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.00801, allocations: 4 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008011, allocations: 3.25 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.008013, allocations: 3.938 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.008201, allocations: 252.4 kB / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.008213, allocations: 11.91 kB / 0.5262 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.00823, allocations: 4 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.008292, allocations: 7.984 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.008373, allocations: 39.89 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.00838, allocations: 14.77 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.008431, allocations: 150.2 kB / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008431, allocations: 0 / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001524/0.008583, allocations: 20 kB / 0.5264 GB, free: 12.08 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: 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 8.291e-05/0.008666, allocations: 107.2 kB / 0.5265 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.008809, allocations: 61.16 kB / 0.5266 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.00881, allocations: 0 / 0.5266 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.008881, allocations: 51.66 kB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.009081, allocations: 25.2 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.009464, allocations: 243.5 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.009499, allocations: 63.34 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.214e-05/0.009562, allocations: 22.77 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.009626, allocations: 32.48 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/0.009628, allocations: 0.9062 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.003688/0.01332, allocations: 2.584 MB / 0.5295 GB, free: 8.969 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.055945075117052]