Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009914/0.0009914, allocations: 80.44 kB / 19.91 MB, free: 4 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.001076/0.001076, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9099/0.9099, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7414/0.7414, allocations: 154.7 MB / 414.7 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009858, allocations: 73.58 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4926, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001523/0.4942, allocations: 0.7359 MB / 0.7198 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.4955, allocations: 1.281 MB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.4956, allocations: 1.469 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.4956, allocations: 14.73 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.4957, allocations: 20.33 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.4963, allocations: 254.7 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.4967, allocations: 255.7 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4968, allocations: 41.16 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.497, allocations: 149.7 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.4971, allocations: 96.27 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.4972, allocations: 24.88 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.4973, allocations: 41.34 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.4973, allocations: 32.12 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.4974, allocations: 89.27 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.4978, allocations: 293.8 kB / 0.7224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4978, allocations: 0 / 0.7224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4978, allocations: 1.188 kB / 0.7224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4978, allocations: 0 / 0.7224 GB, free: 21.67 MB / 0.6355 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.0005103/0.4983, allocations: 426.4 kB / 0.7228 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4983, allocations: 17 kB / 0.7228 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.4984, allocations: 18.91 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4988, allocations: 182.9 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.4988, allocations: 14.7 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4988, allocations: 22.78 kB / 0.723 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4991, allocations: 130.1 kB / 0.7231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4991, allocations: 3.938 kB / 0.7231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4991, allocations: 8.188 kB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4991, allocations: 3.188 kB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4992, allocations: 72.95 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.4996, allocations: 342.4 kB / 0.7235 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4998, allocations: 83.86 kB / 0.7236 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.4998, allocations: 37.55 kB / 0.7237 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.4998, allocations: 5.062 kB / 0.7237 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.5001, allocations: 135 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.5001, allocations: 4 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003786/0.5004, allocations: 241.5 kB / 0.724 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.5005, allocations: 55.64 kB / 0.7241 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.5005, allocations: 142.8 kB / 0.7242 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.5006, allocations: 34.27 kB / 0.7242 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.5006, allocations: 116 kB / 0.7244 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.5006, allocations: 27.36 kB / 0.7244 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.5007, allocations: 73.61 kB / 0.7244 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.5008, allocations: 320.4 kB / 0.7248 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5009, allocations: 128.1 kB / 0.7249 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.501, allocations: 189.3 kB / 0.7251 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5012, allocations: 218.2 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5012, allocations: 1.25 kB / 0.7253 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000351/0.5015, allocations: 378.6 kB / 0.7256 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.5016, allocations: 71.47 kB / 0.7257 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5016, allocations: 2.188 kB / 0.7257 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5016, allocations: 2.281 kB / 0.7257 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.5016, allocations: 10.33 kB / 0.7257 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5016, allocations: 8.438 kB / 0.7257 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.5018, allocations: 64.58 kB / 0.7258 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.5018, allocations: 15.08 kB / 0.7258 GB, free: 19.05 MB / 0.6355 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 8.959e-05/0.5019, allocations: 138.2 kB / 0.7259 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.5019, allocations: 15.47 kB / 0.7259 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.502, allocations: 10.72 kB / 0.726 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.502, allocations: 5.016 kB / 0.726 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.502, allocations: 5.672 kB / 0.726 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.502, allocations: 15.16 kB / 0.726 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.502, allocations: 12.53 kB / 0.726 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.502, allocations: 6.375 kB / 0.726 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.5021, allocations: 12.61 kB / 0.726 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002063/0.5023, allocations: 268 kB / 0.7263 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002086/0.5025, allocations: 369.9 kB / 0.7266 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.411e-05/0.5026, allocations: 49.28 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.5026, allocations: 97.59 kB / 0.7268 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of Backend: time 3.91e-07/0.5026, allocations: 0 / 0.7268 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.5031, allocations: 369.8 kB / 0.7271 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004939/0.5036, allocations: 0.6843 MB / 0.7278 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.004947/0.5085, allocations: 2.494 MB / 0.7302 GB, free: 17.15 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.383132222108543] Failed to read output from testmodel.py, exit status != 0: 0.514651893870905 0.523633507 0.023929286 Calling exit ...