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.0008084/0.0008084, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.00204, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007711/0.0007711, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001812, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9981/0.9981, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09935/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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-545:108: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-545:116: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.8277/0.8277, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2614/1.089, allocations: 49.05 MB / 447.8 MB, free: 6.543 MB / 426.7 MB " [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.294e-06/2.294e-06, allocations: 0 / 449.2 MB, free: 5.172 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.475e-05, allocations: 4.281 kB / 449.2 MB, free: 5.168 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002543/0.002568, allocations: 0.8971 MB / 450.1 MB, free: 4.312 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003726, allocations: 0.933 MB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.003791, allocations: 0 / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.003882, allocations: 20.56 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003998, allocations: 34.67 kB / 451.1 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.004137, allocations: 39.95 kB / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004346, allocations: 136.3 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.004501, allocations: 46.08 kB / 451.3 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.004654, allocations: 89.77 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.004789, allocations: 67.84 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.004826, allocations: 12 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.004854, allocations: 16 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.004918, allocations: 31.88 kB / 451.5 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.004976, allocations: 32.53 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.005151, allocations: 103.7 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.005165, allocations: 1.406 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005166, allocations: 0 / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.005183, allocations: 4 kB / 451.7 MB, free: 2.773 MB / 426.7 MB 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.0006551/0.005838, allocations: 405.9 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.005878, allocations: 8.031 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.005937, allocations: 20.86 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.00613, allocations: 155.9 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.006144, allocations: 8.328 kB / 452.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.006168, allocations: 8.375 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.006432, allocations: 118.6 kB / 452.4 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006441, allocations: 4.188 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.006457, allocations: 8.922 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006464, allocations: 4.312 kB / 452.4 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.00654, allocations: 29.98 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.007136, allocations: 283.8 kB / 452.7 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.007275, allocations: 92.75 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.007309, allocations: 16.86 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007321, allocations: 1.062 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.007343, allocations: 38.56 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.007345, allocations: 0 / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001631/0.007508, allocations: 71.39 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.007538, allocations: 55.41 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.007628, allocations: 176.5 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007641, allocations: 26.36 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.007681, allocations: 109.6 kB / 453.3 MB, free: 1.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.007712, allocations: 40.89 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.007749, allocations: 25.72 kB / 453.3 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.007955, allocations: 326.8 kB / 453.7 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.007981, allocations: 11.88 kB / 453.7 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.00801, allocations: 12.03 kB / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.008062, allocations: 34.5 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.008065, allocations: 5.094 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001126/0.008178, allocations: 69.61 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008191, allocations: 4 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.008198, allocations: 8.641 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008209, allocations: 0 / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.008345, allocations: 29.48 kB / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.008347, allocations: 0 / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.008397, allocations: 13.48 kB / 453.9 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.008404, allocations: 4 kB / 453.9 MB, free: 464 kB / 426.7 MB 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 5.836e-05/0.008462, allocations: 120.5 kB / 454 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.008482, allocations: 11.98 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.008514, allocations: 26.14 kB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008516, allocations: 0 / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008517, allocations: 1.094 kB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008521, allocations: 0 / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.008642, allocations: 117.7 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008643, allocations: 0.625 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.008716, allocations: 32.53 kB / 454.2 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.008728, allocations: 17.11 kB / 454.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008729, allocations: 4 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.008735, allocations: 0 / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008736, allocations: 0.75 kB / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.008737, allocations: 0 / 454.2 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.008868, allocations: 210.6 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.008882, allocations: 5.734 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.008951, allocations: 20.66 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.008994, allocations: 12.61 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008998, allocations: 0.5625 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.00903, allocations: 49.69 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00903, allocations: 0.625 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001239/0.009154, allocations: 28.58 kB / 454.5 MB, free: 15.77 MB / 442.7 MB 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 8.265e-05/0.009237, allocations: 85.28 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.009329, allocations: 36.8 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.009337, allocations: 5.703 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.009383, allocations: 29.45 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.009651, allocations: 280.4 kB / 454.9 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01015, allocations: 306.7 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01019, allocations: 75.33 kB / 455.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.01023, allocations: 9.859 kB / 455.3 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.01032, allocations: 73.11 kB / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01032, allocations: 0 / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of Templates: time 0.003483/0.0138, allocations: 1.956 MB / 457.3 MB, free: 12.95 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6408242946490645]