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.001318/0.001318, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001489/0.001489, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.504/1.504, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.205/1.205, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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 178] 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 3.356e-06/3.356e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.154e-05/4.489e-05, allocations: 8.953 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001855/0.0019, allocations: 0.6254 MB / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.003665, allocations: 1.209 MB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.00372, allocations: 0 / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.003751, allocations: 4.625 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.003824, allocations: 21.53 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.004506, allocations: 210.8 kB / 0.6206 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.004748, allocations: 175.7 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004854, allocations: 15.97 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005004, allocations: 87.94 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.005132, allocations: 56.78 kB / 0.6209 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.005178, allocations: 16 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.00526, allocations: 30.55 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.005288, allocations: 11.98 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.005379, allocations: 47.89 kB / 0.621 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.005661, allocations: 183.6 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005663, allocations: 0 / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005664, allocations: 0 / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.005675, allocations: 0 / 0.6211 GB, free: 1.965 MB / 0.5294 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.0006058/0.00628, allocations: 361.5 kB / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.006325, allocations: 13.41 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.006391, allocations: 16.89 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.006503, allocations: 113.7 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.006524, allocations: 12.36 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.006567, allocations: 16.36 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.006704, allocations: 42.25 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.006714, allocations: 192 / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006724, allocations: 384 / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.006728, allocations: 384 / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.006775, allocations: 19.92 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.007254, allocations: 280.4 kB / 0.622 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.00734, allocations: 30.58 kB / 0.622 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.007372, allocations: 16.94 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.007379, allocations: 0 / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.007571, allocations: 87.25 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.007572, allocations: 0 / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002819/0.007854, allocations: 109.6 kB / 0.6222 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.007906, allocations: 55.41 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.008053, allocations: 121.8 kB / 0.6224 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.008094, allocations: 29.7 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.00818, allocations: 100.1 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.008206, allocations: 11.84 kB / 0.6225 GB, free: 400 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.008312, allocations: 53.69 kB / 0.6226 GB, free: 340 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.008508, allocations: 318.8 kB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.008723, allocations: 123.3 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.008939, allocations: 155.7 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.009169, allocations: 155.6 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.009171, allocations: 4 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005344/0.009705, allocations: 328.2 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.009783, allocations: 67.39 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.009791, allocations: 0 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.009812, allocations: 4 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-05/0.009836, allocations: 0 / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.009848, allocations: 7.938 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.01021, allocations: 60.02 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.01026, allocations: 11.98 kB / 0.6238 GB, free: 15 MB / 0.545 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 0.0001287/0.01039, allocations: 118.8 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.01041, allocations: 19.81 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.01044, allocations: 8.438 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01044, allocations: 480 / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01045, allocations: 4 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01045, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.01059, allocations: 117.3 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.01059, allocations: 4.062 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.0106, allocations: 11.92 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01061, allocations: 3.938 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01062, allocations: 0 / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01062, allocations: 0 / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01062, allocations: 0 / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.0108, allocations: 117 kB / 0.6241 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.01081, allocations: 0 / 0.6241 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01083, allocations: 7.938 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.01085, allocations: 0 / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01089, allocations: 7.984 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.0109, allocations: 8 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.01096, allocations: 91.27 kB / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 0 / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002432/0.0112, allocations: 31.94 kB / 0.6243 GB, free: 14.4 MB / 0.545 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.0002193/0.01142, allocations: 107.2 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.01189, allocations: 274.1 kB / 0.6246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01189, allocations: 0 / 0.6246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.01195, allocations: 24.17 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01221, allocations: 21.84 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.01267, allocations: 153.4 kB / 0.6248 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.288e-05/0.01275, allocations: 67.34 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.01278, allocations: 7.984 kB / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.01282, allocations: 16.5 kB / 0.6249 GB, free: 13.65 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.01282, allocations: 4 kB / 0.6249 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Templates: time 0.005495/0.01831, allocations: 2.034 MB / 0.6269 GB, free: 11.68 MB / 0.545 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: 5.81390155851841] Failed to read output from testmodel.py, exit status != 0: 0.027315590530633926 0.04242793 0.033824062 Calling exit ...