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.0006975/0.0006975, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007347/0.0007347, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8144/0.8144, allocations: 177.1 MB / 203.5 MB, free: 5.727 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6739/0.6739, allocations: 154.6 MB / 414.5 MB, free: 0.832 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.696e-05, allocations: 5.344 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001425/0.001452, allocations: 0.6365 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002535, allocations: 1.217 MB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.002575, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002603, allocations: 3.938 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.949e-05/0.002672, allocations: 15.86 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.003184, allocations: 210.6 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003353, allocations: 171.7 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.003441, allocations: 15.92 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003545, allocations: 99.86 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.003639, allocations: 47.91 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.003663, allocations: 12 kB / 0.6217 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.003722, allocations: 24 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.003744, allocations: 19.91 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.003797, allocations: 39.97 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.003991, allocations: 187.5 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.003994, allocations: 4 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003996, allocations: 0 / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004, allocations: 8 kB / 0.6219 GB, free: 10.52 MB / 0.5886 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.0003908/0.004391, allocations: 353.5 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004428, allocations: 13.45 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.004476, allocations: 12.89 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.992e-05/0.004546, allocations: 105.8 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.00456, allocations: 4.375 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.004579, allocations: 8.375 kB / 0.6224 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.004671, allocations: 58.17 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004678, allocations: 192 / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.004688, allocations: 384 / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.004692, allocations: 384 / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.004726, allocations: 19.94 kB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.005062, allocations: 276.4 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.005127, allocations: 34.5 kB / 0.6228 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.005147, allocations: 12.86 kB / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.005156, allocations: 0 / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.005283, allocations: 87.39 kB / 0.6229 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005284, allocations: 0 / 0.6229 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001993/0.005483, allocations: 105.5 kB / 0.623 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.005514, allocations: 55.41 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.005582, allocations: 125.7 kB / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.005604, allocations: 33.7 kB / 0.6232 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.005647, allocations: 92.08 kB / 0.6233 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.005659, allocations: 15.91 kB / 0.6233 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.005717, allocations: 49.69 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.005789, allocations: 318.8 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.0059, allocations: 119.4 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.006012, allocations: 151.6 kB / 0.6239 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.006135, allocations: 163.6 kB / 0.624 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.006138, allocations: 0 / 0.624 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002849/0.006422, allocations: 340.6 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.006462, allocations: 67.39 kB / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.006467, allocations: 3.938 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.006478, allocations: 0 / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.006495, allocations: 4.062 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.006501, allocations: 4 kB / 0.6244 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.006684, allocations: 52.06 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.006704, allocations: 15.98 kB / 0.6245 GB, free: 7.582 MB / 0.5886 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 6.886e-05/0.006773, allocations: 126.8 kB / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.006784, allocations: 11.89 kB / 0.6246 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.006803, allocations: 4.438 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006805, allocations: 0 / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006809, allocations: 0 / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006813, allocations: 7.984 kB / 0.6247 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.66e-05/0.006889, allocations: 121.2 kB / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00689, allocations: 0 / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-06/0.006895, allocations: 0 / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.006898, allocations: 7.938 kB / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006905, allocations: 0 / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006906, allocations: 0 / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006907, allocations: 0 / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.007006, allocations: 109.1 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.007013, allocations: 4 kB / 0.6249 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007024, allocations: 7.922 kB / 0.6249 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.007037, allocations: 8 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.007069, allocations: 11.92 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.007076, allocations: 11.92 kB / 0.6249 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.007112, allocations: 87.28 kB / 0.625 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007112, allocations: 0 / 0.625 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001615/0.007273, allocations: 39.94 kB / 0.625 GB, free: 6.973 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001104/0.007384, allocations: 99.23 kB / 0.6251 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.007628, allocations: 278.5 kB / 0.6254 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007629, allocations: 8.25 kB / 0.6254 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.007663, allocations: 27.97 kB / 0.6254 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.007834, allocations: 18.06 kB / 0.6255 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.008102, allocations: 183.2 kB / 0.6256 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.008144, allocations: 67.34 kB / 0.6257 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.008162, allocations: 12.5 kB / 0.6257 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.008163, allocations: 0 / 0.6257 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of Templates: time 0.002326/0.01049, allocations: 1.406 MB / 0.6271 GB, free: 4.805 MB / 0.5886 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.689412002451718] Failed to read output from testmodel.py, exit status != 0: 0.015087468549609184 0.023569079000000003 0.017682864 Calling exit ...