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.001389/0.001389, allocations: 88.72 kB / 19.44 MB, free: 356 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.001535/0.001535, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.314/1.314, allocations: 154.8 MB / 414.3 MB, free: 472 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 178] 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.144e-06/2.144e-06, allocations: 0 / 0.5199 GB, free: 1.191 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.323e-05, allocations: 2.312 kB / 0.5199 GB, free: 1.188 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002253/0.002286, allocations: 0.7291 MB / 0.5206 GB, free: 492 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.004602, allocations: 1.279 MB / 0.5218 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.004704, allocations: 0 / 0.5218 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.004767, allocations: 17.02 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.004869, allocations: 13.19 kB / 0.5219 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009053/0.005775, allocations: 249.1 kB / 0.5221 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.006218, allocations: 253.4 kB / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.006396, allocations: 45.27 kB / 0.5224 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.006709, allocations: 143.8 kB / 0.5225 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.006911, allocations: 83.78 kB / 0.5226 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.006976, allocations: 24 kB / 0.5226 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.007089, allocations: 45.52 kB / 0.5227 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.007146, allocations: 35.89 kB / 0.5227 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.00728, allocations: 71.86 kB / 0.5228 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.007754, allocations: 291.2 kB / 0.523 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007759, allocations: 0.75 kB / 0.523 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00776, allocations: 0 / 0.523 GB, free: 13.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.007768, allocations: 1.469 kB / 0.523 GB, free: 13.95 MB / 458.7 MB 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.0008227/0.00859, allocations: 429.2 kB / 0.5235 GB, free: 13.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.008633, allocations: 8.031 kB / 0.5235 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.00875, allocations: 32.88 kB / 0.5235 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.009358, allocations: 183 kB / 0.5237 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.00939, allocations: 12.38 kB / 0.5237 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.009444, allocations: 25.39 kB / 0.5237 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.009731, allocations: 130.1 kB / 0.5238 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.009743, allocations: 3.062 kB / 0.5238 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.009767, allocations: 8.359 kB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.009781, allocations: 8.125 kB / 0.5238 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.009937, allocations: 67.25 kB / 0.5239 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.01065, allocations: 344.1 kB / 0.5242 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.01086, allocations: 90.45 kB / 0.5243 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.01092, allocations: 28.84 kB / 0.5243 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.01094, allocations: 4.562 kB / 0.5244 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.01131, allocations: 142.6 kB / 0.5245 GB, free: 12.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.01131, allocations: 1.531 kB / 0.5245 GB, free: 12.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005736/0.01188, allocations: 253.4 kB / 0.5247 GB, free: 12.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.01195, allocations: 55.34 kB / 0.5248 GB, free: 12.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.01214, allocations: 156.3 kB / 0.5249 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.01218, allocations: 30.64 kB / 0.525 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.01232, allocations: 112.5 kB / 0.5251 GB, free: 11.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.01236, allocations: 31.77 kB / 0.5251 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.01249, allocations: 71.08 kB / 0.5252 GB, free: 11.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.01268, allocations: 318.8 kB / 0.5255 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.01289, allocations: 127.4 kB / 0.5256 GB, free: 11.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.01316, allocations: 195 kB / 0.5258 GB, free: 10.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01349, allocations: 220.4 kB / 0.526 GB, free: 10.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0135, allocations: 3.062 kB / 0.526 GB, free: 10.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006416/0.01414, allocations: 380.2 kB / 0.5264 GB, free: 10.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.01422, allocations: 63.41 kB / 0.5264 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.01423, allocations: 4 kB / 0.5264 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.01426, allocations: 10.69 kB / 0.5264 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.01429, allocations: 11.92 kB / 0.5264 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.0143, allocations: 4 kB / 0.5264 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.01465, allocations: 59.83 kB / 0.5265 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.01468, allocations: 13.31 kB / 0.5265 GB, free: 10.11 MB / 458.7 MB 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,tru.y,fal.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.0001557/0.01484, allocations: 137.8 kB / 0.5266 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.01488, allocations: 24.44 kB / 0.5267 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.01492, allocations: 13.28 kB / 0.5267 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01493, allocations: 5.812 kB / 0.5267 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.01493, allocations: 0 / 0.5267 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01494, allocations: 0 / 0.5267 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.01552, allocations: 428.3 kB / 0.5271 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01552, allocations: 3.938 kB / 0.5271 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.01553, allocations: 2.438 kB / 0.5271 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01554, allocations: 7.938 kB / 0.5271 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01555, allocations: 7.922 kB / 0.5271 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01556, allocations: 0 / 0.5271 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01556, allocations: 4 kB / 0.5271 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.01595, allocations: 291.4 kB / 0.5274 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.01597, allocations: 18.31 kB / 0.5274 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.016, allocations: 11.94 kB / 0.5274 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.01607, allocations: 0 / 0.5274 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.01613, allocations: 11.97 kB / 0.5274 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.01616, allocations: 19.92 kB / 0.5275 GB, free: 9.086 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.01625, allocations: 95.27 kB / 0.5275 GB, free: 8.992 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01625, allocations: 0 / 0.5275 GB, free: 8.992 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.01658, allocations: 52.92 kB / 0.5276 GB, free: 8.941 MB / 458.7 MB 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.000211/0.01679, allocations: 104.2 kB / 0.5277 GB, free: 8.832 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.01735, allocations: 332.9 kB / 0.528 GB, free: 8.473 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01735, allocations: 0 / 0.528 GB, free: 8.473 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.01748, allocations: 65.88 kB / 0.5281 GB, free: 8.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.01784, allocations: 33.08 kB / 0.5281 GB, free: 8.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.01847, allocations: 269.1 kB / 0.5284 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.0186, allocations: 98.77 kB / 0.5285 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.01864, allocations: 9.141 kB / 0.5285 GB, free: 7.961 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01868, allocations: 19.59 kB / 0.5285 GB, free: 7.945 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01868, allocations: 0 / 0.5285 GB, free: 7.945 MB / 458.7 MB Notification: Performance of Templates: time 0.00696/0.02564, allocations: 2.324 MB / 0.5308 GB, free: 5.758 MB / 458.7 MB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.962405449943617]