Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.000887/0.000887, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001176/0.001176, allocations: 170 kB / 23.27 MB, free: 1.223 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.8811/0.8811, allocations: 177.2 MB / 203.7 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.7812/0.7812, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.177e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001351/0.001373, allocations: 0.7529 MB / 0.5215 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.003571, allocations: 1.301 MB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.003669, allocations: 0 / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.003725, allocations: 9.688 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.003834, allocations: 19.69 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.004652, allocations: 253 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.004994, allocations: 251.6 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.005164, allocations: 45.27 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.005381, allocations: 152.5 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.005553, allocations: 81.14 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.005597, allocations: 20 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.005694, allocations: 37.33 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.005739, allocations: 35.89 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.256e-05/0.005821, allocations: 71.86 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.006082, allocations: 191.4 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.006086, allocations: 1.562 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.006088, allocations: 0 / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.006092, allocations: 0 / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006069/0.006698, allocations: 0.5097 MB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.006745, allocations: 12.03 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.006821, allocations: 32.83 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.007024, allocations: 156.5 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.007045, allocations: 20.3 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.007079, allocations: 16.38 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.00725, allocations: 110.1 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007259, allocations: 0.75 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.007272, allocations: 0.9375 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.00728, allocations: 4.375 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.702e-05/0.007347, allocations: 48.27 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.00783, allocations: 389.4 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.007954, allocations: 78.89 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.00799, allocations: 31.64 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.007997, allocations: 4.938 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.008185, allocations: 122.5 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.008187, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003381/0.008525, allocations: 211.4 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.008563, allocations: 52.5 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.008696, allocations: 212.9 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.008723, allocations: 33.7 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.00881, allocations: 163.9 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.008836, allocations: 31.73 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.008938, allocations: 76.58 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.009082, allocations: 0.4962 MB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.009199, allocations: 107.4 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.009353, allocations: 198 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.009549, allocations: 217.9 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009552, allocations: 0 / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004061/0.009958, allocations: 351.1 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.01001, allocations: 67.39 kB / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.01002, allocations: 4 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01003, allocations: 0 / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.01006, allocations: 9.438 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.01006, allocations: 11.92 kB / 0.5275 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.01029, allocations: 44.42 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.01032, allocations: 22.39 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001444/0.01046, allocations: 172.5 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.01049, allocations: 23.89 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.01054, allocations: 16.78 kB / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01054, allocations: 6.375 kB / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01054, allocations: 0 / 0.5278 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01055, allocations: 7.922 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.01093, allocations: 413.9 kB / 0.5282 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01093, allocations: 4 kB / 0.5282 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.01095, allocations: 11.92 kB / 0.5282 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01095, allocations: 1.844 kB / 0.5282 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01096, allocations: 4 kB / 0.5282 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01096, allocations: 4 kB / 0.5282 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01096, allocations: 3.938 kB / 0.5282 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.01123, allocations: 320.8 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01124, allocations: 16.88 kB / 0.5286 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01126, allocations: 7.984 kB / 0.5286 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.01133, allocations: 4 kB / 0.5286 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.01138, allocations: 16.84 kB / 0.5286 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.0114, allocations: 12 kB / 0.5286 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.01146, allocations: 136.2 kB / 0.5287 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01146, allocations: 0 / 0.5287 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003533/0.01181, allocations: 51.92 kB / 0.5288 GB, free: 9.355 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001565/0.01197, allocations: 105.6 kB / 0.5289 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.01255, allocations: 314.3 kB / 0.5292 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01255, allocations: 0 / 0.5292 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.01262, allocations: 63.62 kB / 0.5292 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01293, allocations: 19.98 kB / 0.5293 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.01335, allocations: 264.3 kB / 0.5295 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.01339, allocations: 63.84 kB / 0.5296 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.01343, allocations: 14.42 kB / 0.5296 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.01357, allocations: 114.2 kB / 0.5297 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01357, allocations: 0 / 0.5297 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of Templates: time 0.005201/0.01877, allocations: 2.472 MB / 0.5321 GB, free: 5.996 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.427472394425422]