Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000917/0.000917, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001144/0.001144, allocations: 169 kB / 24.06 MB, free: 456 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.9829/0.9829, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8111/0.8111, allocations: 154.9 MB / 415.9 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.171e-05, allocations: 4.281 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001524/0.001556, allocations: 0.754 MB / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.002929, allocations: 1.299 MB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.002998, allocations: 0 / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.003035, allocations: 11.81 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.003111, allocations: 17.77 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.003664, allocations: 252.3 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.003934, allocations: 251.6 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.004061, allocations: 46.23 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.004227, allocations: 155.7 kB / 0.5246 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.004357, allocations: 76.8 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.004387, allocations: 20.97 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.004458, allocations: 35.98 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.004491, allocations: 37.33 kB / 0.5248 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.004551, allocations: 71.86 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.004756, allocations: 187.4 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004759, allocations: 0 / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00476, allocations: 0.6875 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004764, allocations: 0 / 0.525 GB, free: 14.34 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.0004536/0.005218, allocations: 0.5079 MB / 0.5255 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.005249, allocations: 13.25 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.005312, allocations: 32.83 kB / 0.5256 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005474, allocations: 160.4 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.005491, allocations: 16.98 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.005518, allocations: 16.38 kB / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005635, allocations: 104 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005644, allocations: 192 / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005655, allocations: 4.375 kB / 0.5259 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.005664, allocations: 4.375 kB / 0.5259 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.005713, allocations: 55.7 kB / 0.5259 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.006074, allocations: 381.5 kB / 0.5263 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.632e-05/0.00617, allocations: 79 kB / 0.5263 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.006194, allocations: 27.66 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.006199, allocations: 5.375 kB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.006333, allocations: 127.4 kB / 0.5265 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.006334, allocations: 0.75 kB / 0.5265 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000249/0.006583, allocations: 205.5 kB / 0.5267 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.006616, allocations: 52.88 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.006719, allocations: 205.7 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.006744, allocations: 37.7 kB / 0.527 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.006806, allocations: 155.2 kB / 0.5271 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.006827, allocations: 44.98 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.006902, allocations: 75.3 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.007024, allocations: 0.4923 MB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.007116, allocations: 107.4 kB / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.007236, allocations: 196 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.007386, allocations: 214.9 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007388, allocations: 0.5625 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003184/0.007706, allocations: 350.4 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.007756, allocations: 67.39 kB / 0.5286 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007762, allocations: 3.984 kB / 0.5286 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.007774, allocations: 6.281 kB / 0.5286 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.096e-05/0.007795, allocations: 7.938 kB / 0.5286 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.007801, allocations: 7.938 kB / 0.5286 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.007981, allocations: 50.66 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.00801, allocations: 15.98 kB / 0.5287 GB, free: 10.23 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.0001372/0.008147, allocations: 180.4 kB / 0.5289 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.008183, allocations: 23.89 kB / 0.5289 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.008227, allocations: 16.78 kB / 0.5289 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008231, allocations: 0 / 0.5289 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.008233, allocations: 1.375 kB / 0.5289 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.008241, allocations: 3.938 kB / 0.5289 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.008623, allocations: 425.9 kB / 0.5293 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008625, allocations: 0.9375 kB / 0.5293 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.008636, allocations: 4 kB / 0.5293 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.008639, allocations: 4.922 kB / 0.5293 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008648, allocations: 4 kB / 0.5293 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.008651, allocations: 4 kB / 0.5293 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008653, allocations: 4.594 kB / 0.5293 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.008852, allocations: 326 kB / 0.5297 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.008863, allocations: 16.5 kB / 0.5297 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008876, allocations: 4.969 kB / 0.5297 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.008914, allocations: 7.984 kB / 0.5297 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.008947, allocations: 11.92 kB / 0.5297 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.008965, allocations: 18.58 kB / 0.5297 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.009007, allocations: 134 kB / 0.5298 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009007, allocations: 0 / 0.5298 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002109/0.009218, allocations: 44 kB / 0.5299 GB, free: 8.961 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.0001219/0.00934, allocations: 107.2 kB / 0.53 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.009607, allocations: 315.6 kB / 0.5303 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009608, allocations: 0 / 0.5303 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.009659, allocations: 59.58 kB / 0.5303 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.009875, allocations: 33.83 kB / 0.5304 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.01021, allocations: 254.8 kB / 0.5306 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.01025, allocations: 67.84 kB / 0.5307 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.01028, allocations: 13.14 kB / 0.5307 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01039, allocations: 114.2 kB / 0.5308 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01039, allocations: 0 / 0.5308 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of Templates: time 0.004158/0.01455, allocations: 2.538 MB / 0.5333 GB, free: 5.531 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8685835856013]