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.0009287/0.0009287, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001033/0.001033, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9085/0.9085, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7321/0.7321, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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 1.463e-06/1.463e-06, allocations: 0 / 0.5216 GB, free: 1.805 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.614e-05, allocations: 2.969 kB / 0.5216 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001158/0.001174, allocations: 0.6489 MB / 0.5222 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.001323, allocations: 8 kB / 0.5222 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.00137, allocations: 0.5 kB / 0.5222 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.001479, allocations: 8.625 kB / 0.5222 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.00152, allocations: 1.812 kB / 0.5222 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.519e-05/0.001586, allocations: 3.984 kB / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.001667, allocations: 31.91 kB / 0.5223 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.001798, allocations: 19.98 kB / 0.5223 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.001835, allocations: 19.98 kB / 0.5223 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.001865, allocations: 12.5 kB / 0.5223 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.001883, allocations: 4 kB / 0.5223 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.001894, allocations: 4.906 kB / 0.5223 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.001931, allocations: 15.97 kB / 0.5224 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.001952, allocations: 9.375 kB / 0.5224 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.904e-05/0.002031, allocations: 39.78 kB / 0.5224 GB, free: 1.004 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002033, allocations: 0 / 0.5224 GB, free: 1.004 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002033, allocations: 0 / 0.5224 GB, free: 1.004 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.002037, allocations: 0.7812 kB / 0.5224 GB, free: 1.004 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.0002472/0.002284, allocations: 376.5 kB / 0.5228 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.002315, allocations: 13.19 kB / 0.5228 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.002341, allocations: 12.89 kB / 0.5228 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.002439, allocations: 116.6 kB / 0.5229 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.002451, allocations: 11.12 kB / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.002457, allocations: 4.375 kB / 0.5229 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.002528, allocations: 50.12 kB / 0.523 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.002536, allocations: 4.188 kB / 0.523 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.002542, allocations: 384 / 0.523 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.002547, allocations: 384 / 0.523 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.002566, allocations: 15.92 kB / 0.523 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.002862, allocations: 0.5064 MB / 0.5235 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.318e-05/0.002936, allocations: 266 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.002966, allocations: 132.2 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.002992, allocations: 123.2 kB / 0.524 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.003035, allocations: 160.5 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.003036, allocations: 0.9688 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.5e-05/0.003081, allocations: 29.66 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.003131, allocations: 174.6 kB / 0.5243 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.003209, allocations: 174.9 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.003216, allocations: 25.7 kB / 0.5245 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.003268, allocations: 143.8 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.003269, allocations: 0 / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.003292, allocations: 19.38 kB / 0.5247 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.003401, allocations: 0.4893 MB / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-06/0.003406, allocations: 0 / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.003413, allocations: 4.5 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.003441, allocations: 20.34 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.003442, allocations: 0 / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.823e-05/0.00351, allocations: 38.88 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.003521, allocations: 5.719 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.003524, allocations: 0.9375 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.003532, allocations: 112 / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.003567, allocations: 13.73 kB / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00357, allocations: 0 / 0.5252 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.003583, allocations: 7.938 kB / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.003591, allocations: 3.984 kB / 0.5252 GB, free: 13.91 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 8.949e-05/0.003681, allocations: 281.3 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.003732, allocations: 148.8 kB / 0.5256 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.003783, allocations: 152.4 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.786e-05/0.003851, allocations: 276 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.716e-05/0.003918, allocations: 268.2 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/0.003985, allocations: 273.9 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.004173, allocations: 492.4 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/0.004211, allocations: 144.9 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.004251, allocations: 156.8 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.068e-05/0.004322, allocations: 270.2 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.004388, allocations: 268.1 kB / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-05/0.004454, allocations: 268 kB / 0.5281 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-05/0.004525, allocations: 268.1 kB / 0.5284 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.004664, allocations: 448 kB / 0.5288 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.004711, allocations: 160.8 kB / 0.5289 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.004778, allocations: 270.8 kB / 0.5292 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.004831, allocations: 148.9 kB / 0.5293 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.004887, allocations: 268 kB / 0.5296 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.004917, allocations: 144.9 kB / 0.5297 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.004954, allocations: 135.2 kB / 0.5299 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004954, allocations: 0 / 0.5299 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001306/0.005085, allocations: 8 kB / 0.5299 GB, free: 8.988 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 8.995e-05/0.005175, allocations: 212 kB / 0.5301 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.005226, allocations: 19.61 kB / 0.5301 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005227, allocations: 4.656 kB / 0.5301 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.005229, allocations: 0 / 0.5301 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.005523, allocations: 0.7122 MB / 0.5308 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.005705, allocations: 253.2 kB / 0.531 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.005736, allocations: 63.34 kB / 0.5311 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.00575, allocations: 3.984 kB / 0.5311 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.005786, allocations: 70.2 kB / 0.5312 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.005786, allocations: 4.438 kB / 0.5312 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.001537/0.007323, allocations: 329.5 kB / 0.5315 GB, free: 7.285 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.3946627723053098]