Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000772/0.000772, 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.000785/0.000785, 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.8913/0.8913, 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.7298/0.7298, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001051/0.001051, allocations: 64.14 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.4569/0.4579, allocations: 102 MB / 0.7194 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001318/0.4593, allocations: 0.6268 MB / 0.7201 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.4605, allocations: 1.215 MB / 0.7212 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.4605, allocations: 0 / 0.7212 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.4606, allocations: 5.188 kB / 0.7212 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.4606, allocations: 15.91 kB / 0.7213 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.4613, allocations: 217.8 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.4615, allocations: 172.5 kB / 0.7216 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4616, allocations: 13.66 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.4618, allocations: 96.97 kB / 0.7217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4619, allocations: 53.05 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.4619, allocations: 18.22 kB / 0.7218 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.462, allocations: 28.53 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.462, allocations: 13.11 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.4621, allocations: 51.17 kB / 0.7219 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.4623, allocations: 186.4 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4624, allocations: 0 / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4624, allocations: 5.094 kB / 0.7221 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4624, allocations: 0 / 0.7221 GB, free: 21.78 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.0003784/0.4627, allocations: 360.4 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4628, allocations: 10.53 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.4628, allocations: 12.47 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.4629, allocations: 118.4 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4629, allocations: 13.09 kB / 0.7226 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4629, allocations: 10.25 kB / 0.7226 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.463, allocations: 49.62 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4631, allocations: 1.375 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4631, allocations: 8.547 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4631, allocations: 1.156 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.4631, allocations: 13.91 kB / 0.7227 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.4634, allocations: 273.7 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.4635, allocations: 34.41 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.4635, allocations: 18.81 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4635, allocations: 5.812 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.4636, allocations: 80.97 kB / 0.723 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4636, allocations: 0 / 0.723 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002067/0.4638, allocations: 105.1 kB / 0.7231 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4639, allocations: 54.28 kB / 0.7232 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.4639, allocations: 116.3 kB / 0.7233 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.464, allocations: 30.39 kB / 0.7233 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.464, allocations: 98.12 kB / 0.7234 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.464, allocations: 15.5 kB / 0.7234 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.4641, allocations: 53.17 kB / 0.7235 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.4641, allocations: 320.2 kB / 0.7238 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.4642, allocations: 115.3 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.4643, allocations: 163.6 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.4644, allocations: 159.6 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4644, allocations: 3.938 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002856/0.4647, allocations: 324 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.4648, allocations: 70.2 kB / 0.7246 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4648, allocations: 1.094 kB / 0.7246 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4648, allocations: 2.188 kB / 0.7246 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.4648, allocations: 3.328 kB / 0.7246 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4648, allocations: 2.219 kB / 0.7246 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.465, allocations: 65.39 kB / 0.7247 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.465, allocations: 14.69 kB / 0.7247 GB, free: 19.52 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.349e-05/0.4651, allocations: 127 kB / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.4651, allocations: 7.281 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.4651, allocations: 10.75 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4651, allocations: 0.8438 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4651, allocations: 1.25 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.4651, allocations: 1.797 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4651, allocations: 1.859 kB / 0.7248 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.4652, allocations: 6 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4652, allocations: 13.97 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.034e-05/0.4653, allocations: 159.1 kB / 0.725 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.446e-05/0.4654, allocations: 253.9 kB / 0.7252 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.947e-05/0.4654, allocations: 17.09 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.4654, allocations: 94.16 kB / 0.7253 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of Backend: time 2.4e-07/0.4654, allocations: 0.9375 kB / 0.7253 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.4658, allocations: 337.6 kB / 0.7257 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003624/0.4662, allocations: 0.6152 MB / 0.7263 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.003774/0.47, allocations: 2.125 MB / 0.7283 GB, free: 17.79 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.194162051891908] Failed to read output from testmodel.py, exit status != 0: 0.47535869595594704 0.483377446 0.019238939 Calling exit ...