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.001461/0.001461, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001473/0.001473, allocations: 169.3 kB / 23.49 MB, free: 1.059 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.9648/0.9648, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7702/0.7702, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 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.435e-06/2.435e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.781e-05, allocations: 8.281 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001531/0.001568, allocations: 0.7595 MB / 0.5213 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.00283, allocations: 1.298 MB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.002889, allocations: 0 / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.002923, allocations: 11.86 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.002996, allocations: 24.56 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.003527, allocations: 245.2 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.00376, allocations: 256.1 kB / 0.5231 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.003893, allocations: 50.34 kB / 0.5232 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.004049, allocations: 139.8 kB / 0.5233 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004174, allocations: 83.78 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.004209, allocations: 24.72 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.004273, allocations: 31.98 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.004306, allocations: 37.55 kB / 0.5235 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.004376, allocations: 79.86 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.004587, allocations: 207.4 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00459, allocations: 0 / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004591, allocations: 0 / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004595, allocations: 1.625 kB / 0.5237 GB, free: 15.06 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.0004695/0.005065, allocations: 0.5074 MB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.0051, allocations: 12.03 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.005182, allocations: 32.83 kB / 0.5243 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.005513, allocations: 185.2 kB / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.005529, allocations: 13.59 kB / 0.5245 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.005558, allocations: 20.36 kB / 0.5245 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.00572, allocations: 118 kB / 0.5246 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005729, allocations: 1.438 kB / 0.5246 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.005745, allocations: 8.359 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.005756, allocations: 4.125 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.005834, allocations: 54.25 kB / 0.5247 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.006296, allocations: 411.3 kB / 0.5251 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.006421, allocations: 83.02 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.006458, allocations: 31.61 kB / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-06/0.006463, allocations: 0 / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.006619, allocations: 130.6 kB / 0.5253 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.00662, allocations: 0 / 0.5253 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003039/0.006924, allocations: 228.4 kB / 0.5255 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.006967, allocations: 68.23 kB / 0.5256 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007076, allocations: 196.8 kB / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.007099, allocations: 33.7 kB / 0.5258 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.007183, allocations: 160.5 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.007207, allocations: 35.75 kB / 0.526 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.007298, allocations: 75.33 kB / 0.5261 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.00746, allocations: 0.4931 MB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.007582, allocations: 115.4 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.007724, allocations: 205.6 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.007888, allocations: 227.1 kB / 0.5271 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00789, allocations: 0 / 0.5271 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003404/0.00823, allocations: 385.9 kB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.00827, allocations: 68.52 kB / 0.5275 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008276, allocations: 0 / 0.5275 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.008293, allocations: 7.938 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.82e-05/0.008312, allocations: 8.5 kB / 0.5275 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.008319, allocations: 10.81 kB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.008468, allocations: 47.91 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.008488, allocations: 16 kB / 0.5276 GB, free: 10.78 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.756e-05/0.008586, allocations: 172.5 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.008608, allocations: 30.92 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.008638, allocations: 12.78 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.008641, allocations: 3.938 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008645, allocations: 0 / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.00865, allocations: 4 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.008988, allocations: 458.9 kB / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.00899, allocations: 0 / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.008998, allocations: 4 kB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.009001, allocations: 5.484 kB / 0.5282 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.009014, allocations: 11.92 kB / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009016, allocations: 3.938 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009018, allocations: 0 / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.009241, allocations: 333.6 kB / 0.5286 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.009253, allocations: 15.84 kB / 0.5286 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.009273, allocations: 15.92 kB / 0.5286 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.009307, allocations: 0 / 0.5286 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.009354, allocations: 15.97 kB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.009372, allocations: 11.98 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.00942, allocations: 139.2 kB / 0.5288 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00942, allocations: 0 / 0.5288 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002077/0.009628, allocations: 42.44 kB / 0.5288 GB, free: 9.469 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.0001291/0.009757, allocations: 115.1 kB / 0.5289 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.01006, allocations: 322.2 kB / 0.5292 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01006, allocations: 0 / 0.5292 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.203e-05/0.01013, allocations: 71.52 kB / 0.5293 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.01033, allocations: 23.66 kB / 0.5293 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.01068, allocations: 262.8 kB / 0.5296 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.01073, allocations: 82.2 kB / 0.5296 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.01076, allocations: 9.156 kB / 0.5296 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.01078, allocations: 16.5 kB / 0.5297 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.01078, allocations: 0 / 0.5297 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of Templates: time 0.003809/0.01459, allocations: 2.335 MB / 0.5319 GB, free: 6.289 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.8014796001370996]