Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006893/0.0006893, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008641/0.001553, 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.0006978/0.0006978, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008934/0.001591, 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 0.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1137/1.079, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7933/0.7933, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2778/1.071, allocations: 49.03 MB / 447.6 MB, free: 6.707 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/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.461e-05, allocations: 4.844 kB / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001148/0.001163, allocations: 0.6816 MB / 449.6 MB, free: 4.773 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002206, allocations: 1.24 MB / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.002239, allocations: 5.219 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.002256, allocations: 0 / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.002295, allocations: 16.06 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.002657, allocations: 210.4 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.002835, allocations: 169.5 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.002901, allocations: 15.86 kB / 451.2 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003005, allocations: 99.17 kB / 451.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.003092, allocations: 46.33 kB / 451.4 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.003116, allocations: 17.5 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.003189, allocations: 31.97 kB / 451.4 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.003203, allocations: 10.52 kB / 451.4 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.003249, allocations: 33.53 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003386, allocations: 104.2 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.003402, allocations: 2.156 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003402, allocations: 0 / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.003418, allocations: 0 / 451.6 MB, free: 2.816 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.0004527/0.003871, allocations: 349.9 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.003904, allocations: 8.031 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.003946, allocations: 12.92 kB / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.342e-05/0.004029, allocations: 123.9 kB / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004043, allocations: 4.375 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.00406, allocations: 9.359 kB / 452 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.08e-05/0.004131, allocations: 50.17 kB / 452.1 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004138, allocations: 4.125 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.004144, allocations: 384 / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004149, allocations: 2.344 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.004166, allocations: 7.938 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.004407, allocations: 180.3 kB / 452.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.004464, allocations: 31.23 kB / 452.3 MB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.004479, allocations: 13.91 kB / 452.3 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.004484, allocations: 0 / 452.3 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.00459, allocations: 75.84 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.00459, allocations: 0 / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.00012/0.004711, allocations: 86.38 kB / 452.5 MB, free: 1.773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.004744, allocations: 58.75 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.004813, allocations: 122.6 kB / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.004833, allocations: 29.7 kB / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.004877, allocations: 96.11 kB / 452.8 MB, free: 1.441 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.004888, allocations: 11.91 kB / 452.8 MB, free: 1.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.004944, allocations: 41.67 kB / 452.8 MB, free: 1.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.005023, allocations: 322.8 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.005095, allocations: 103.4 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.005173, allocations: 131.7 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.005271, allocations: 146.3 kB / 453.5 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005274, allocations: 4 kB / 453.5 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001775/0.005451, allocations: 258.2 kB / 453.8 MB, free: 344 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.00551, allocations: 71.39 kB / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.005518, allocations: 3.938 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005528, allocations: 1 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.005549, allocations: 7.984 kB / 453.9 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.005553, allocations: 4.531 kB / 453.9 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.005701, allocations: 41.23 kB / 453.9 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.005718, allocations: 11.98 kB / 453.9 MB, free: 192 kB / 426.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.85e-05/0.005787, allocations: 126.4 kB / 454 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.005797, allocations: 9.203 kB / 454.1 MB, free: 48 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.00582, allocations: 12.38 kB / 454.1 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005822, allocations: 0 / 454.1 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.005824, allocations: 1.062 kB / 454.1 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005827, allocations: 0 / 454.1 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.951e-05/0.005906, allocations: 85.75 kB / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.005908, allocations: 3.406 kB / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.005914, allocations: 0 / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.005922, allocations: 7.953 kB / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.005924, allocations: 0.5625 kB / 454.2 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005928, allocations: 4.609 kB / 454.2 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.00593, allocations: 7.938 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005931, allocations: 1.406 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.006004, allocations: 81.05 kB / 454.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-06/0.006014, allocations: 4 kB / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.006026, allocations: 0 / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.006054, allocations: 12.67 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006058, allocations: 4 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.693e-05/0.006074, allocations: 22.36 kB / 454.3 MB, free: 15.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006075, allocations: 0 / 454.3 MB, free: 15.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.006205, allocations: 24 kB / 454.3 MB, free: 15.75 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 9.918e-05/0.006304, allocations: 85.27 kB / 454.4 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.00651, allocations: 256.8 kB / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.006514, allocations: 0 / 454.7 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.006539, allocations: 28.77 kB / 454.7 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.006645, allocations: 26.3 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.007023, allocations: 150 kB / 454.9 MB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.007052, allocations: 59.34 kB / 454.9 MB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.007072, allocations: 4.625 kB / 454.9 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.007163, allocations: 83.95 kB / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007164, allocations: 0 / 455 MB, free: 14.98 MB / 442.7 MB Notification: Performance of Templates: time 0.003797/0.01096, allocations: 2.286 MB / 457.3 MB, free: 12.86 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.606018924154341]