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.001132/0.001132, 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.001221/0.001221, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.8906/0.8906, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7035/0.7035, 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.0009615/0.0009615, allocations: 71.89 kB / 0.6199 GB, free: 12.78 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.4664/0.4673, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001598/0.4689, allocations: 0.7316 MB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4702, allocations: 1.282 MB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.4702, allocations: 2.219 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.4703, allocations: 10.36 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.4704, allocations: 19.56 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.4709, allocations: 255.2 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.4712, allocations: 256.6 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4713, allocations: 41.41 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4715, allocations: 148.9 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.4716, allocations: 92.34 kB / 0.7222 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.4716, allocations: 24.72 kB / 0.7222 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.4717, allocations: 41.69 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.4718, allocations: 32.8 kB / 0.7223 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.306e-05/0.4718, allocations: 88.66 kB / 0.7224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.4721, allocations: 289.8 kB / 0.7227 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4721, allocations: 4 kB / 0.7227 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4721, allocations: 4 kB / 0.7227 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4721, allocations: 1.438 kB / 0.7227 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.0004687/0.4726, allocations: 430.2 kB / 0.7231 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4726, allocations: 10.16 kB / 0.7231 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.4727, allocations: 23.25 kB / 0.7231 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.4731, allocations: 174.5 kB / 0.7233 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4731, allocations: 14.66 kB / 0.7233 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.4731, allocations: 22.14 kB / 0.7233 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4733, allocations: 136.6 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4733, allocations: 5 kB / 0.7234 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4733, allocations: 6.875 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4733, allocations: 3.312 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.4734, allocations: 68.59 kB / 0.7235 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.4738, allocations: 343.5 kB / 0.7239 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.474, allocations: 84.03 kB / 0.7239 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.474, allocations: 40.44 kB / 0.724 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.474, allocations: 5.031 kB / 0.724 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.4742, allocations: 134.5 kB / 0.7241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.4742, allocations: 0 / 0.7241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003451/0.4746, allocations: 243.8 kB / 0.7243 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4746, allocations: 62.14 kB / 0.7244 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.4747, allocations: 142.1 kB / 0.7245 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4747, allocations: 34.11 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4747, allocations: 111.4 kB / 0.7247 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.4747, allocations: 32.05 kB / 0.7247 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.4748, allocations: 76.72 kB / 0.7248 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.4749, allocations: 321.8 kB / 0.7251 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.475, allocations: 127.2 kB / 0.7252 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4751, allocations: 190.3 kB / 0.7254 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4753, allocations: 215 kB / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4753, allocations: 0 / 0.7256 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003376/0.4756, allocations: 378.9 kB / 0.726 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.4756, allocations: 71.55 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4756, allocations: 2.188 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4757, allocations: 3.453 kB / 0.726 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.135e-05/0.4757, allocations: 10.08 kB / 0.726 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4757, allocations: 3.781 kB / 0.726 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.4759, allocations: 65.08 kB / 0.7261 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.4759, allocations: 14.84 kB / 0.7261 GB, free: 18.94 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.599e-05/0.476, allocations: 138.7 kB / 0.7262 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.476, allocations: 13.86 kB / 0.7263 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.476, allocations: 12.92 kB / 0.7263 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.476, allocations: 4.609 kB / 0.7263 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.476, allocations: 3.938 kB / 0.7263 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.4761, allocations: 16.95 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.4761, allocations: 3.406 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.4761, allocations: 9.078 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4761, allocations: 9.359 kB / 0.7263 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001946/0.4763, allocations: 272 kB / 0.7266 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001982/0.4765, allocations: 370.2 kB / 0.7269 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.312e-05/0.4766, allocations: 49.38 kB / 0.727 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.4766, allocations: 94.45 kB / 0.7271 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of Backend: time 3.31e-07/0.4766, allocations: 4 kB / 0.7271 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.4771, allocations: 365.9 kB / 0.7274 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004257/0.4775, allocations: 0.6803 MB / 0.7281 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.004607/0.4821, allocations: 2.514 MB / 0.7305 GB, free: 17.01 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.167551405960694] Failed to read output from testmodel.py, exit status != 0: 0.4877019200939685 0.497871284 0.023677232000000003 Calling exit ...