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.0008921/0.0008921, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008311/0.0008311, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9144/0.9144, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7312/0.7312, allocations: 154.9 MB / 414.9 MB, free: 0.5234 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: 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.0008731/0.0008731, allocations: 63.91 kB / 0.6199 GB, free: 12.79 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4909, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001525/0.4925, allocations: 0.7281 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.4937, allocations: 1.278 MB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.4938, allocations: 1.469 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.4938, allocations: 10.22 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.4939, allocations: 19.78 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.4945, allocations: 259.4 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.4947, allocations: 257.2 kB / 0.7219 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.4949, allocations: 41.02 kB / 0.722 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.495, allocations: 153.5 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.4952, allocations: 88.77 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.4952, allocations: 24.31 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.4953, allocations: 37.03 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.4953, allocations: 36.45 kB / 0.7223 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.4954, allocations: 93.94 kB / 0.7224 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.4957, allocations: 243.3 kB / 0.7226 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4957, allocations: 5.094 kB / 0.7226 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4957, allocations: 5.016 kB / 0.7226 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4957, allocations: 0 / 0.7226 GB, free: 21.55 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.0004983/0.4962, allocations: 431.8 kB / 0.723 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4963, allocations: 10.78 kB / 0.7231 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.4963, allocations: 16.36 kB / 0.7231 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.4967, allocations: 176.7 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4968, allocations: 17.86 kB / 0.7233 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.4968, allocations: 23.23 kB / 0.7233 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.497, allocations: 128.9 kB / 0.7234 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.497, allocations: 9.016 kB / 0.7234 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.497, allocations: 6.953 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.497, allocations: 2.75 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.4971, allocations: 69.44 kB / 0.7235 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4976, allocations: 346.6 kB / 0.7238 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4977, allocations: 84.44 kB / 0.7239 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.4978, allocations: 40.64 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.4978, allocations: 0.9688 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.498, allocations: 131.1 kB / 0.7241 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.498, allocations: 0 / 0.7241 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.00035/0.4984, allocations: 246.4 kB / 0.7243 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.4984, allocations: 58.89 kB / 0.7244 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.4985, allocations: 142.5 kB / 0.7245 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4985, allocations: 33.42 kB / 0.7245 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.4985, allocations: 115.9 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.4985, allocations: 34.95 kB / 0.7247 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.4986, allocations: 73.5 kB / 0.7247 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.4987, allocations: 322.4 kB / 0.725 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.4988, allocations: 126.3 kB / 0.7252 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4989, allocations: 186.6 kB / 0.7253 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4991, allocations: 222.4 kB / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4991, allocations: 1.281 kB / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003368/0.4994, allocations: 369.4 kB / 0.7259 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.4995, allocations: 72.56 kB / 0.726 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4995, allocations: 2.125 kB / 0.726 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4995, allocations: 7.312 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-05/0.4995, allocations: 10.06 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4995, allocations: 3.922 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.4997, allocations: 61.31 kB / 0.7261 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.4997, allocations: 18.42 kB / 0.7261 GB, free: 18.95 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.382e-05/0.4998, allocations: 143.5 kB / 0.7262 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.4998, allocations: 15.61 kB / 0.7262 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.4999, allocations: 11.08 kB / 0.7262 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4999, allocations: 2.5 kB / 0.7262 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4999, allocations: 0 / 0.7262 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4999, allocations: 1.406 kB / 0.7262 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.5002, allocations: 422.3 kB / 0.7266 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5002, allocations: 0.6562 kB / 0.7266 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.5002, allocations: 3.547 kB / 0.7266 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5002, allocations: 1.062 kB / 0.7266 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5002, allocations: 13.09 kB / 0.7267 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5002, allocations: 0 / 0.7267 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5002, allocations: 0.7969 kB / 0.7267 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.5004, allocations: 300.4 kB / 0.7269 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.5004, allocations: 8.266 kB / 0.727 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5004, allocations: 3.562 kB / 0.727 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.5005, allocations: 4.438 kB / 0.727 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.5005, allocations: 14.59 kB / 0.727 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.5005, allocations: 10.23 kB / 0.727 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.5006, allocations: 97.95 kB / 0.7271 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5006, allocations: 3.938 kB / 0.7271 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002138/0.5008, allocations: 56.48 kB / 0.7271 GB, free: 18.19 MB / 0.6355 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.0001213/0.5009, allocations: 104.2 kB / 0.7272 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.5012, allocations: 327.3 kB / 0.7276 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5012, allocations: 0 / 0.7276 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.5013, allocations: 61.97 kB / 0.7276 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5015, allocations: 32.56 kB / 0.7276 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.5019, allocations: 265.3 kB / 0.7279 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.502, allocations: 94.34 kB / 0.728 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.502, allocations: 12.56 kB / 0.728 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.502, allocations: 19.09 kB / 0.728 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of SimCode: time 4.6e-07/0.502, allocations: 0 / 0.728 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.004488/0.5065, allocations: 2.356 MB / 0.7303 GB, free: 17.26 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.269381119054742] Failed to read output from testmodel.py, exit status != 0: 0.5115795719902962 0.520227162 0.022724492000000002 Calling exit ...