Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.002419/0.002419, allocations: 93.47 kB / 19.44 MB, free: 332 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.002797/0.002797, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.486e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001865/0.0019, allocations: 0.5811 MB / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.003734, allocations: 1.145 MB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.003774, allocations: 6.406 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.003797, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.003867, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.00434, allocations: 119.6 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.00452, allocations: 88.39 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.004598, allocations: 7.984 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004707, allocations: 48.53 kB / 0.5215 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.004801, allocations: 28.77 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.00483, allocations: 8 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.004895, allocations: 19.92 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.004917, allocations: 9.531 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.004979, allocations: 23.97 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005194, allocations: 99.72 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005198, allocations: 0 / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005199, allocations: 0.9375 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005204, allocations: 0 / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005988/0.005803, allocations: 403.5 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.005844, allocations: 8.031 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.005904, allocations: 4.938 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.006034, allocations: 112.6 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006051, allocations: 5.469 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.006074, allocations: 8.312 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006199, allocations: 64.64 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.006207, allocations: 192 / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.006216, allocations: 5.656 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.006219, allocations: 384 / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.006245, allocations: 7.938 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.006672, allocations: 279.7 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.006757, allocations: 39.52 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.00678, allocations: 12.81 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.006788, allocations: 0 / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.006942, allocations: 91.34 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006943, allocations: 0 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002365/0.00718, allocations: 71.59 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.007227, allocations: 51.41 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.00738, allocations: 177.9 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.007405, allocations: 25.7 kB / 0.523 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.007504, allocations: 130.9 kB / 0.5231 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.007522, allocations: 17.28 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.007598, allocations: 35.36 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002852/0.007883, allocations: 0.4884 MB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.008002, allocations: 65.69 kB / 0.5237 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.008138, allocations: 98.23 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.008273, allocations: 96.62 kB / 0.5239 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008275, allocations: 0.5 kB / 0.5239 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003262/0.008601, allocations: 198 kB / 0.5241 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.008649, allocations: 41.62 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008654, allocations: 1.125 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.008669, allocations: 0 / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-05/0.00869, allocations: 4 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.008695, allocations: 0.625 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.008879, allocations: 16.48 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.008908, allocations: 10.42 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001418/0.009049, allocations: 164.6 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.00906, allocations: 3.938 kB / 0.5243 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.009097, allocations: 15.94 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009099, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.009102, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.009106, allocations: 2.438 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.009245, allocations: 116.6 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.009246, allocations: 4 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.009251, allocations: 0 / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.009253, allocations: 0 / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.009262, allocations: 3.984 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.009265, allocations: 5.75 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009266, allocations: 0 / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.009413, allocations: 96.39 kB / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-06/0.00942, allocations: 288 / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.009434, allocations: 0 / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.009452, allocations: 3.938 kB / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.009497, allocations: 16.94 kB / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.009502, allocations: 320 / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.603e-05/0.009598, allocations: 136.1 kB / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009598, allocations: 0 / 0.5247 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002106/0.009808, allocations: 15.94 kB / 0.5247 GB, free: 12.95 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001893/0.009998, allocations: 102.5 kB / 0.5248 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.01029, allocations: 172.8 kB / 0.525 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01029, allocations: 0 / 0.525 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.01033, allocations: 23.56 kB / 0.525 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01054, allocations: 13.06 kB / 0.525 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.0109, allocations: 136.4 kB / 0.5252 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.01097, allocations: 63.34 kB / 0.5252 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.01099, allocations: 4 kB / 0.5252 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.01101, allocations: 8.5 kB / 0.5252 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01101, allocations: 0 / 0.5252 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.004422/0.01543, allocations: 1.18 MB / 0.5264 GB, free: 11.25 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.161882517975755]