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.001397/0.001397, 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.001795/0.001795, allocations: 169 kB / 23.02 MB, free: 1.551 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.073/1.073, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7626/0.7626, allocations: 154.9 MB / 414.8 MB, free: 404 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 1.693e-06/1.693e-06, allocations: 0 / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.579e-05, allocations: 2.859 kB / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001494/0.00152, allocations: 0.762 MB / 0.5214 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002843, allocations: 1.291 MB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.002907, allocations: 5.469 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.002951, allocations: 11.81 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.003029, allocations: 19.84 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.00364, allocations: 253.2 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.003889, allocations: 257.1 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004014, allocations: 41.27 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.004171, allocations: 151.8 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.004302, allocations: 76.61 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.004334, allocations: 21.28 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.00441, allocations: 39.92 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.004446, allocations: 31.89 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.004516, allocations: 75.84 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.004718, allocations: 188.8 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004721, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004722, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004726, allocations: 0.7812 kB / 0.5238 GB, free: 14.62 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.000504/0.00523, allocations: 0.5035 MB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.005273, allocations: 9.625 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.005347, allocations: 36.83 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005526, allocations: 168.3 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.005544, allocations: 16.36 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.005571, allocations: 22.69 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.005722, allocations: 110.2 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.00573, allocations: 192 / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005743, allocations: 4.375 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.005752, allocations: 4.375 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.005825, allocations: 63.77 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.00626, allocations: 405.3 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.006381, allocations: 83.02 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.006415, allocations: 31.67 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.006427, allocations: 7.984 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.006577, allocations: 126.8 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.006578, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003142/0.006892, allocations: 231.6 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.006929, allocations: 56.28 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.007024, allocations: 197.8 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.00705, allocations: 38.19 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.007115, allocations: 156.1 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.007136, allocations: 35.73 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.007215, allocations: 76.55 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007325, allocations: 0.4884 MB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.00744, allocations: 123.3 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.007568, allocations: 208.6 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.007728, allocations: 224 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00773, allocations: 0 / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003279/0.008058, allocations: 383.1 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.008098, allocations: 69.83 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.008105, allocations: 4 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.008119, allocations: 0 / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.008142, allocations: 15.88 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.008148, allocations: 4 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.008329, allocations: 50.94 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.00835, allocations: 15.98 kB / 0.5276 GB, free: 10.37 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,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 9.391e-05/0.008444, allocations: 180.5 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.008464, allocations: 23.89 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.008495, allocations: 12.78 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.008498, allocations: 4.531 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.008503, allocations: 3.938 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008507, allocations: 1.438 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.00881, allocations: 457.2 kB / 0.5283 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008812, allocations: 0 / 0.5283 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-06/0.008819, allocations: 2.531 kB / 0.5283 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008822, allocations: 0 / 0.5283 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.008833, allocations: 15.92 kB / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008834, allocations: 0 / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008835, allocations: 0 / 0.5283 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.009035, allocations: 338.1 kB / 0.5286 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.009047, allocations: 19.83 kB / 0.5287 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.009065, allocations: 14.69 kB / 0.5287 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.009097, allocations: 3.984 kB / 0.5287 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.009133, allocations: 7.984 kB / 0.5287 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.009152, allocations: 15.98 kB / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.009196, allocations: 142.3 kB / 0.5288 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009197, allocations: 0 / 0.5288 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001985/0.009395, allocations: 40 kB / 0.5289 GB, free: 9.047 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.0001192/0.009514, allocations: 112.3 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.009795, allocations: 336.1 kB / 0.5293 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009796, allocations: 0 / 0.5293 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.009859, allocations: 67.53 kB / 0.5294 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01007, allocations: 24.62 kB / 0.5294 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01044, allocations: 263.4 kB / 0.5296 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01048, allocations: 68.5 kB / 0.5297 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.01051, allocations: 15.14 kB / 0.5297 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.01053, allocations: 12.5 kB / 0.5297 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01053, allocations: 4 kB / 0.5297 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.004203/0.01474, allocations: 2.483 MB / 0.5322 GB, free: 5.734 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.872132696211338]