Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.0008659/0.0008659, allocations: 84.44 kB / 19.91 MB, free: 0 / 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.0008776/0.0008776, 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.9222/0.9222, 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.7455/0.7455, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [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.00133/0.00133, allocations: 71.89 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.5083/0.5097, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00149/0.5111, allocations: 0.6357 MB / 0.7197 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.5123, allocations: 1.209 MB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.5124, allocations: 1.344 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.5124, allocations: 0 / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.5125, allocations: 20.38 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.513, allocations: 217.9 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.5132, allocations: 177 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5133, allocations: 13.97 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.5135, allocations: 97 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.5136, allocations: 56.02 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.5137, allocations: 15.31 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.5137, allocations: 27.31 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.5138, allocations: 10.11 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.5138, allocations: 55.23 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.5141, allocations: 186.4 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5141, allocations: 0 / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5141, allocations: 0 / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5141, allocations: 1.438 kB / 0.7218 GB, free: 22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004223/0.5145, allocations: 357.8 kB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5146, allocations: 8.922 kB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.5146, allocations: 17.33 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.5147, allocations: 110 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5147, allocations: 9.859 kB / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.5147, allocations: 18.25 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5148, allocations: 50.14 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5149, allocations: 0.7969 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5149, allocations: 3.938 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5149, allocations: 1.812 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.5149, allocations: 13.67 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.5153, allocations: 273.9 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.5154, allocations: 37.7 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.5154, allocations: 15.45 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.5154, allocations: 1.062 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.5155, allocations: 82.05 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5155, allocations: 3.938 kB / 0.7227 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000224/0.5158, allocations: 112.5 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.5158, allocations: 54.25 kB / 0.7229 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.5158, allocations: 116.4 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5159, allocations: 30.45 kB / 0.723 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.5159, allocations: 98.19 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.5159, allocations: 15.03 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.516, allocations: 49.05 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.516, allocations: 315 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.5161, allocations: 125.1 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.5162, allocations: 154.9 kB / 0.7237 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.5164, allocations: 163.8 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5164, allocations: 3.938 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002911/0.5167, allocations: 321.1 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.5167, allocations: 72.25 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5167, allocations: 1.312 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5167, allocations: 6.188 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-05/0.5167, allocations: 3.125 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5168, allocations: 2.375 kB / 0.7243 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.517, allocations: 59.83 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.517, allocations: 11.34 kB / 0.7244 GB, free: 19.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 5.928e-05/0.5171, allocations: 132.9 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.5171, allocations: 7.469 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.5171, allocations: 10.42 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5171, allocations: 0.75 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5171, allocations: 1.281 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.5171, allocations: 2.656 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.5171, allocations: 1.781 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.5171, allocations: 1.656 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.5172, allocations: 13.61 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.977e-05/0.5173, allocations: 155.5 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.81e-05/0.5174, allocations: 261.9 kB / 0.7249 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.085e-05/0.5174, allocations: 16.62 kB / 0.7249 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.5174, allocations: 89.53 kB / 0.725 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of Backend: time 3.3e-07/0.5174, allocations: 0 / 0.725 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004292/0.5178, allocations: 342.8 kB / 0.7253 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003799/0.5182, allocations: 0.6071 MB / 0.7259 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.004368/0.5226, allocations: 2.13 MB / 0.728 GB, free: 18.02 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3129940130747855] Failed to read output from testmodel.py, exit status != 0: 0.5289196069352329 0.537282596 0.021370776 Calling exit ...