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.0007678/0.0007678, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009223/0.00169, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007576/0.0007576, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001765, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.061/1.061, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08816/1.15, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8032/0.8032, allocations: 155.3 MB / 399.2 MB, free: 15.92 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.2916/1.095, allocations: 49.14 MB / 448.4 MB, free: 5.992 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 2.114e-06/2.114e-06, allocations: 1.094 kB / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.465e-05, allocations: 2.312 kB / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001471/0.001496, allocations: 0.685 MB / 450.4 MB, free: 4.055 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.002784, allocations: 1.248 MB / 451.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002818, allocations: 0 / 451.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.002841, allocations: 4.688 kB / 451.6 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.002883, allocations: 12.09 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.003334, allocations: 205.1 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.003552, allocations: 174.1 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.003639, allocations: 6.969 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.003781, allocations: 101.4 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.003906, allocations: 53.77 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.003932, allocations: 12.88 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.004012, allocations: 31.92 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.004031, allocations: 9.688 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.004079, allocations: 35.98 kB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.00423, allocations: 101 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.004244, allocations: 0 / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004245, allocations: 0 / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.004257, allocations: 4 kB / 452.4 MB, free: 2.094 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.0003925/0.004649, allocations: 350.6 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.00468, allocations: 12.03 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.004717, allocations: 14.64 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.004801, allocations: 122.2 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.004812, allocations: 4.375 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.004828, allocations: 8.375 kB / 452.9 MB, free: 1.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.004896, allocations: 46.73 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004904, allocations: 3.047 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004909, allocations: 1 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004914, allocations: 1.688 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.004931, allocations: 15.88 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.005168, allocations: 172.3 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.005223, allocations: 27.16 kB / 453.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.005237, allocations: 8.859 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.005243, allocations: 1.938 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.958e-05/0.005343, allocations: 91.39 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.005344, allocations: 3.938 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001187/0.005463, allocations: 73.59 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.005492, allocations: 52.12 kB / 453.4 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.00556, allocations: 126.6 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.005579, allocations: 30.61 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.005614, allocations: 96.06 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.005625, allocations: 16.55 kB / 453.6 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.005681, allocations: 45.67 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.005749, allocations: 316.1 kB / 454 MB, free: 348 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.005821, allocations: 99.38 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.005898, allocations: 131.7 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.006015, allocations: 152.8 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.006018, allocations: 4 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000181/0.006199, allocations: 264.3 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.006251, allocations: 67.39 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006256, allocations: 4.688 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.006265, allocations: 4 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.006285, allocations: 8.656 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.006288, allocations: 0 / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.006436, allocations: 40.81 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.006453, allocations: 12.62 kB / 454.7 MB, free: 15.46 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 6.518e-05/0.006518, allocations: 118.5 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.006528, allocations: 8.625 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.006549, allocations: 9 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006553, allocations: 4 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006554, allocations: 0.625 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006557, allocations: 0 / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.677e-05/0.006624, allocations: 82.44 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006625, allocations: 0 / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-06/0.006632, allocations: 8.578 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.006638, allocations: 8.703 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.00664, allocations: 4 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.006644, allocations: 1.781 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.006647, allocations: 3.938 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006648, allocations: 0 / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.006717, allocations: 88.77 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006726, allocations: 3.938 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.006741, allocations: 4.656 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.006768, allocations: 11.92 kB / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006771, allocations: 1 kB / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.006788, allocations: 16.84 kB / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006788, allocations: 0 / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.006927, allocations: 32.75 kB / 455.1 MB, free: 15.03 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.0001036/0.00703, allocations: 85.47 kB / 455.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.007215, allocations: 263.6 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.007221, allocations: 5 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.007241, allocations: 16.86 kB / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.007358, allocations: 22.8 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.007783, allocations: 149 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.007816, allocations: 67.2 kB / 455.7 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.00784, allocations: 8.312 kB / 455.7 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.007942, allocations: 75.34 kB / 455.8 MB, free: 14.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.007943, allocations: 0 / 455.8 MB, free: 14.26 MB / 442.7 MB Notification: Performance of Templates: time 0.00387/0.01181, allocations: 2.287 MB / 458.1 MB, free: 12.14 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.7186801759526134]