Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0009972/0.0009972, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009869/0.0009869, allocations: 169.7 kB / 23.28 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 0.9159/0.9159, allocations: 177.1 MB / 203.7 MB, free: 5.496 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-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.778/0.778, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5208 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/2.001e-05, allocations: 6.141 kB / 0.5208 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001091/0.001111, allocations: 0.6425 MB / 0.5215 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.001239, allocations: 8.562 kB / 0.5215 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.001275, allocations: 0 / 0.5215 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.001366, allocations: 14.12 kB / 0.5215 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.001404, allocations: 0 / 0.5215 GB, free: 1.164 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.797e-05/0.001462, allocations: 4 kB / 0.5215 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.001528, allocations: 30.81 kB / 0.5215 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.001634, allocations: 23.98 kB / 0.5215 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.001668, allocations: 16.77 kB / 0.5215 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.708e-05/0.001695, allocations: 15.92 kB / 0.5216 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.001712, allocations: 9.109 kB / 0.5216 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.00172, allocations: 4 kB / 0.5216 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.001743, allocations: 8 kB / 0.5216 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.001764, allocations: 8.938 kB / 0.5216 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.26e-05/0.001837, allocations: 39.83 kB / 0.5216 GB, free: 1.012 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.001838, allocations: 1 kB / 0.5216 GB, free: 1.012 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.001839, allocations: 3.938 kB / 0.5216 GB, free: 1.008 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.001842, allocations: 0 / 0.5216 GB, free: 1.008 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002329/0.002075, allocations: 381.1 kB / 0.522 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.002107, allocations: 8.031 kB / 0.522 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.002132, allocations: 13.61 kB / 0.522 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.002217, allocations: 112.6 kB / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.002225, allocations: 9.125 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.002232, allocations: 384 / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.967e-05/0.002301, allocations: 55.11 kB / 0.5222 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.002307, allocations: 192 / 0.5222 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.002314, allocations: 7.188 kB / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.002322, allocations: 4.375 kB / 0.5222 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.002339, allocations: 17.84 kB / 0.5222 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.002623, allocations: 0.4986 MB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.766e-05/0.00269, allocations: 273.4 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.002719, allocations: 126.9 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.002743, allocations: 123.2 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.002783, allocations: 157.8 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.002784, allocations: 0 / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.65e-05/0.00283, allocations: 37.59 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.002875, allocations: 170.6 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.00295, allocations: 170.5 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.002957, allocations: 26.27 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.003007, allocations: 146.8 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-06/0.003008, allocations: 0.9375 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.00303, allocations: 19.38 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.003127, allocations: 0.4897 MB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.003131, allocations: 0 / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-06/0.003136, allocations: 0 / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.003158, allocations: 16.12 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.00316, allocations: 0.9688 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.282e-05/0.003222, allocations: 45.69 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.003232, allocations: 11.28 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003236, allocations: 0 / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.003246, allocations: 0 / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.268e-05/0.003278, allocations: 4 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.003281, allocations: 320 / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.003293, allocations: 8.906 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.003299, allocations: 0 / 0.5245 GB, free: 13.93 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 (1): * Single equations (assignments): 1 * 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.832e-05/0.003378, allocations: 284.5 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.003416, allocations: 144.9 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.003456, allocations: 161.4 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-05/0.003503, allocations: 264.1 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.002e-05/0.003553, allocations: 276.1 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.864e-05/0.003602, allocations: 273.5 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.003742, allocations: 488.5 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/0.00377, allocations: 152.8 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.003797, allocations: 148.8 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/0.003847, allocations: 273.1 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.003895, allocations: 264.1 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.003944, allocations: 268.1 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003073/0.004251, allocations: 282.8 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.004354, allocations: 447.9 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.004387, allocations: 152.8 kB / 0.5282 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.004441, allocations: 276 kB / 0.5284 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.004491, allocations: 144.9 kB / 0.5286 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.004543, allocations: 268.1 kB / 0.5288 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.004571, allocations: 148.8 kB / 0.529 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.004609, allocations: 139.2 kB / 0.5291 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004609, allocations: 2.531 kB / 0.5291 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001312/0.00474, allocations: 4 kB / 0.5291 GB, free: 8.992 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 (0): * Single equations (assignments): 0 * 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 7.922e-05/0.004819, allocations: 214.4 kB / 0.5293 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.001e-05/0.00486, allocations: 7.688 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.004861, allocations: 0.5625 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.004862, allocations: 1.094 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.005132, allocations: 0.7061 MB / 0.53 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.005307, allocations: 261.2 kB / 0.5303 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.005336, allocations: 63.94 kB / 0.5303 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.00535, allocations: 4 kB / 0.5303 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.005381, allocations: 73.64 kB / 0.5304 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.005382, allocations: 0 / 0.5304 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of Templates: time 0.001432/0.006814, allocations: 336.2 kB / 0.5307 GB, free: 7.293 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.381715132854879]