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.001271/0.001271, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00128/0.00128, allocations: 169 kB / 23.02 MB, free: 1.555 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.078/1.078, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8082/0.8082, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.943e-06/1.943e-06, allocations: 0.9844 kB / 0.5204 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.396e-05, allocations: 8 kB / 0.5204 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001211/0.001235, allocations: 0.6382 MB / 0.521 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.001392, allocations: 19.91 kB / 0.521 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.001434, allocations: 1.781 kB / 0.521 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.001546, allocations: 1.312 kB / 0.521 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.001587, allocations: 3.938 kB / 0.521 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.625e-05/0.001654, allocations: 0 / 0.521 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.001737, allocations: 32.05 kB / 0.5211 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.001875, allocations: 23.97 kB / 0.5211 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.001916, allocations: 19.98 kB / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.001946, allocations: 15.92 kB / 0.5211 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.001966, allocations: 4 kB / 0.5211 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.001978, allocations: 5.562 kB / 0.5211 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.002009, allocations: 4 kB / 0.5211 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.00204, allocations: 19.91 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.00213, allocations: 27.86 kB / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.002133, allocations: 0.75 kB / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002133, allocations: 0 / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002137, allocations: 1.469 kB / 0.5212 GB, free: 1.309 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.0003265/0.002464, allocations: 380.5 kB / 0.5216 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.002504, allocations: 12.03 kB / 0.5216 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.002546, allocations: 8.891 kB / 0.5216 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.002687, allocations: 129.8 kB / 0.5217 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.002697, allocations: 384 / 0.5217 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.002712, allocations: 8.375 kB / 0.5217 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.002812, allocations: 57.02 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.002824, allocations: 1.125 kB / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.002832, allocations: 384 / 0.5218 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.00284, allocations: 7.344 kB / 0.5218 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.002872, allocations: 19.94 kB / 0.5218 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.003251, allocations: 0.5292 MB / 0.5223 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.003345, allocations: 265.4 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.003393, allocations: 130.9 kB / 0.5227 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.003425, allocations: 119.2 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.003467, allocations: 156.6 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.003468, allocations: 0 / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.775e-05/0.003536, allocations: 34.22 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.003586, allocations: 171.2 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.003681, allocations: 177.9 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.003689, allocations: 30.5 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.003762, allocations: 142.8 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.003765, allocations: 4.469 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.00379, allocations: 16.84 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.003908, allocations: 0.4961 MB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.003918, allocations: 0 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.003924, allocations: 0 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.003954, allocations: 12.62 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.003956, allocations: 0 / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.832e-05/0.004044, allocations: 39.06 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.004057, allocations: 7.984 kB / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004062, allocations: 0 / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.004077, allocations: 1.156 kB / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.004131, allocations: 12.05 kB / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.004136, allocations: 3.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.004152, allocations: 8.688 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.004162, allocations: 0 / 0.5241 GB, free: 14.17 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 0.0001374/0.004299, allocations: 281 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.004348, allocations: 148.9 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.004396, allocations: 156.3 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/0.004452, allocations: 271 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-05/0.004508, allocations: 268.2 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-05/0.004566, allocations: 272 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.004742, allocations: 0.5115 MB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.004775, allocations: 148.8 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.004892, allocations: 148.9 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-05/0.004954, allocations: 264.1 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.005015, allocations: 272 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.985e-05/0.005075, allocations: 266.8 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-05/0.005137, allocations: 272 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.005268, allocations: 456 kB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.005311, allocations: 148.8 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.005375, allocations: 272.1 kB / 0.528 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.005429, allocations: 148.8 kB / 0.5282 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.00549, allocations: 272.1 kB / 0.5284 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.00552, allocations: 145.5 kB / 0.5286 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.005563, allocations: 132.5 kB / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005563, allocations: 0 / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001406/0.005704, allocations: 7.938 kB / 0.5287 GB, free: 9.215 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 9.471e-05/0.005798, allocations: 219 kB / 0.5289 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.764e-05/0.005866, allocations: 8.188 kB / 0.5289 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005867, allocations: 1.781 kB / 0.5289 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.005869, allocations: 4 kB / 0.5289 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.006195, allocations: 0.7121 MB / 0.5296 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.007515, allocations: 249.3 kB / 0.5299 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.336e-05/0.007568, allocations: 69.78 kB / 0.5299 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.007598, allocations: 3.938 kB / 0.5299 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.007636, allocations: 8.5 kB / 0.5299 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of SimCode: time 1.953e-06/0.007638, allocations: 0 / 0.5299 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of Templates: time 0.00207/0.009708, allocations: 320.8 kB / 0.5303 GB, free: 7.586 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.884828851092607]