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.001848/0.001848, allocations: 89.48 kB / 19.44 MB, free: 332 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.002123/0.002123, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.641/1.641, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.35/1.35, allocations: 154.8 MB / 414.4 MB, free: 456 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.304e-06/2.304e-06, allocations: 1.094 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.174e-05, allocations: 4.828 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002263/0.002295, allocations: 0.7515 MB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.004452, allocations: 1.277 MB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.004541, allocations: 0 / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.253e-05/0.004594, allocations: 17.14 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/0.004688, allocations: 11.88 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.005476, allocations: 254 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.005894, allocations: 255.6 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.006049, allocations: 41.27 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.006314, allocations: 147.7 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.006503, allocations: 80.36 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.006567, allocations: 24.97 kB / 0.5227 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.006678, allocations: 43.97 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.006737, allocations: 31.91 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.006864, allocations: 77.44 kB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.007315, allocations: 295.1 kB / 0.5231 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.007319, allocations: 0 / 0.5231 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00732, allocations: 0 / 0.5231 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.007328, allocations: 4.938 kB / 0.5231 GB, free: 15.03 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.0008642/0.008193, allocations: 0.511 MB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.008234, allocations: 8.031 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.008352, allocations: 34.23 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.008916, allocations: 172.6 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.008946, allocations: 13.53 kB / 0.5238 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.008997, allocations: 20.36 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.009277, allocations: 138.1 kB / 0.524 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.009293, allocations: 4.859 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.009314, allocations: 4.359 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.009324, allocations: 9.406 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.009483, allocations: 71.97 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.01022, allocations: 424.3 kB / 0.5244 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.01044, allocations: 103 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.01052, allocations: 43.67 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.01053, allocations: 0.5312 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.01081, allocations: 141.1 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.01082, allocations: 0 / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005671/0.01138, allocations: 265.4 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.01144, allocations: 59.33 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.01166, allocations: 215.4 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.0117, allocations: 33.7 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01183, allocations: 163.4 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01188, allocations: 35.73 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.01203, allocations: 88.83 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.01231, allocations: 0.4923 MB / 0.526 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.01254, allocations: 143.4 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.01285, allocations: 235.9 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.01321, allocations: 252.6 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01321, allocations: 0.5312 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006894/0.0139, allocations: 409.1 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/0.01398, allocations: 67.39 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.01399, allocations: 4 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.01401, allocations: 6.375 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.01405, allocations: 11.94 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01406, allocations: 0 / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.01436, allocations: 51.84 kB / 0.5271 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.0144, allocations: 12 kB / 0.5272 GB, free: 10.51 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 0.0001957/0.01459, allocations: 186.6 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.01463, allocations: 23.89 kB / 0.5274 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.01467, allocations: 12.78 kB / 0.5274 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.01468, allocations: 4.969 kB / 0.5274 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.01469, allocations: 4 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01469, allocations: 4 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.01531, allocations: 490.2 kB / 0.5279 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01531, allocations: 0 / 0.5279 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.01532, allocations: 3.25 kB / 0.5279 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01532, allocations: 3.938 kB / 0.5279 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.01534, allocations: 11.92 kB / 0.5279 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01534, allocations: 0 / 0.5279 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01534, allocations: 0 / 0.5279 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.01579, allocations: 355.8 kB / 0.5282 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.01581, allocations: 11.91 kB / 0.5282 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.01584, allocations: 11.92 kB / 0.5282 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.0159, allocations: 4 kB / 0.5282 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.01596, allocations: 22.69 kB / 0.5283 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.01598, allocations: 12 kB / 0.5283 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001062/0.01609, allocations: 142 kB / 0.5284 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01609, allocations: 0 / 0.5284 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003344/0.01642, allocations: 47.98 kB / 0.5284 GB, free: 9.125 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.0001908/0.01662, allocations: 104.8 kB / 0.5285 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005807/0.0172, allocations: 393.3 kB / 0.5289 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0172, allocations: 0 / 0.5289 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01733, allocations: 83.56 kB / 0.529 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01768, allocations: 28.08 kB / 0.529 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01828, allocations: 270.8 kB / 0.5293 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.01841, allocations: 101.2 kB / 0.5294 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.01846, allocations: 9.875 kB / 0.5294 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.0185, allocations: 17.08 kB / 0.5294 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.0185, allocations: 5.031 kB / 0.5294 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of Templates: time 0.006831/0.02533, allocations: 2.328 MB / 0.5317 GB, free: 5.844 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: 6.268308582017198]