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.0007291/0.0007291, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009634/0.001693, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007108/0.0007108, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009551/0.001666, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9537/0.9537, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0848/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7844/0.7844, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.3067/1.091, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.943e-06/1.943e-06, allocations: 0 / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.533e-05, allocations: 3.375 kB / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001858/0.001883, allocations: 0.7021 MB / 450.6 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003307, allocations: 1.24 MB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.003345, allocations: 4.875 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.003371, allocations: 5.281 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.003423, allocations: 15.75 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.003923, allocations: 198.3 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.00418, allocations: 181 kB / 452.3 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.004255, allocations: 7.938 kB / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.004401, allocations: 103.1 kB / 452.4 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.004526, allocations: 54.55 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.004561, allocations: 16.77 kB / 452.5 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.004651, allocations: 20 kB / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.004678, allocations: 10.78 kB / 452.5 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.004741, allocations: 38.28 kB / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004931, allocations: 104.2 kB / 452.6 MB, free: 1.996 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.004944, allocations: 0 / 452.6 MB, free: 1.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004946, allocations: 0 / 452.6 MB, free: 1.996 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.004956, allocations: 1.969 kB / 452.6 MB, free: 1.996 MB / 426.7 MB 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.0004907/0.005447, allocations: 353.9 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.005481, allocations: 8.031 kB / 453 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.005533, allocations: 12.92 kB / 453 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.00563, allocations: 113.7 kB / 453.1 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005647, allocations: 12.88 kB / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.005683, allocations: 12.38 kB / 453.1 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.005762, allocations: 38.86 kB / 453.2 MB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.00577, allocations: 4.906 kB / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005778, allocations: 384 / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.005785, allocations: 2.859 kB / 453.2 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.005806, allocations: 15.86 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.006114, allocations: 180.3 kB / 453.4 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.006181, allocations: 31.59 kB / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.006197, allocations: 4.859 kB / 453.4 MB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.006205, allocations: 4.594 kB / 453.4 MB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.00633, allocations: 83.92 kB / 453.5 MB, free: 1.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.006331, allocations: 0 / 453.5 MB, free: 1.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001501/0.006481, allocations: 71.02 kB / 453.6 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.006519, allocations: 59.34 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.006604, allocations: 126.6 kB / 453.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.006631, allocations: 33.7 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.00668, allocations: 84.92 kB / 453.9 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.006697, allocations: 15.89 kB / 453.9 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.006775, allocations: 51.16 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.006866, allocations: 318.8 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.006969, allocations: 95.38 kB / 454.3 MB, free: 136 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.007097, allocations: 133.2 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.007234, allocations: 143.1 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.007237, allocations: 0.5625 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002771/0.007514, allocations: 270.8 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.007577, allocations: 67.39 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.007583, allocations: 3.938 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.007599, allocations: 0 / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.007623, allocations: 11.94 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.007625, allocations: 1.688 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.007829, allocations: 47.97 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.007853, allocations: 9.078 kB / 455 MB, free: 15.37 MB / 442.7 MB 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 8.351e-05/0.007937, allocations: 119.1 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.007949, allocations: 8 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.007979, allocations: 13.12 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007981, allocations: 3.938 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007982, allocations: 0.625 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.007987, allocations: 4.609 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.303e-05/0.00807, allocations: 77.83 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008072, allocations: 0.625 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.008081, allocations: 7.922 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.00809, allocations: 8.578 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008092, allocations: 0.625 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.008099, allocations: 4 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.008101, allocations: 4.562 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.008105, allocations: 4.938 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.423e-05/0.008199, allocations: 82.33 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.008211, allocations: 4 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.00823, allocations: 5.547 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.008259, allocations: 7.938 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.008264, allocations: 4 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.322e-05/0.008287, allocations: 20.78 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008288, allocations: 0.9062 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.008485, allocations: 28 kB / 455.4 MB, free: 14.93 MB / 442.7 MB 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.000134/0.008619, allocations: 85.41 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.008864, allocations: 260.8 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.008869, allocations: 4 kB / 455.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.008902, allocations: 20.8 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.009086, allocations: 129.4 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.009598, allocations: 153 kB / 456 MB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.009632, allocations: 59.22 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.987e-05/0.009662, allocations: 11.45 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.009785, allocations: 79.34 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009786, allocations: 1.562 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of Templates: time 0.004674/0.01446, allocations: 2.246 MB / 458.4 MB, free: 11.94 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.444866292178631]